Skip to content

Commit 75c5d79

Browse files
committed
fixing syntax error when concatting the env var for CI
1 parent 4fc0db3 commit 75c5d79

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: Jenkinsfile

+10-8
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ pipeline {
2828
php7-tidy \
2929
php7-simplexml \
3030
tar'
31-
MULTIARCH='true'
32-
CI='true'
33-
CI_PORT='80'
34-
CI_SSL='false'
35-
CI_DELAY='5'
36-
CI_DOCKERENV='DB_HOST=' + credentials('mysql_test_host') + '|DB_DATABASE=bookstack|DB_USERNAME=root|DB_PASSWORD=' + credentials('mysql_test_password')
37-
CI_AUTH='user:password'
38-
CI_WEBPATH=''
31+
MULTIARCH = 'true'
32+
CI = 'true'
33+
CI_PORT = '80'
34+
CI_SSL = 'false'
35+
CI_DELAY = '5'
36+
TEST_MYSQL_HOST = credentials('mysql_test_host')
37+
TEST_MYSQL_PASSWORD = credentials('mysql_test_password')
38+
CI_DOCKERENV = 'DB_HOST=${TEST_MYSQL_HOST}|DB_DATABASE=bookstack|DB_USERNAME=root|DB_PASSWORD=${TEST_MYSQL_PASSWORD}'
39+
CI_AUTH = 'user:password'
40+
CI_WEBPATH = ''
3941
}
4042
stages {
4143
// Setup all the basic environment variables needed for the build

0 commit comments

Comments
 (0)