Skip to content

Commit a4c99b6

Browse files
Jenkins: on Windows use %envvar% instead of $envvar.
https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#string-interpolation
1 parent 0dde505 commit a4c99b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/Jenkinsfile-Windows

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ pipeline {
1111
MVN_REPO_URL = credentials('objectbox_internal_mvn_repo_http')
1212
MVN_REPO_LOGIN = credentials('objectbox_internal_mvn_user')
1313
// Warning: use single quotes to avoid Groovy String interpolation leaking secrets.
14-
MVN_REPO_ARGS = '-PinternalObjectBoxRepo=$MVN_REPO_URL ' +
15-
'-PinternalObjectBoxRepoUser=$MVN_REPO_LOGIN_USR ' +
16-
'-PinternalObjectBoxRepoPassword=$MVN_REPO_LOGIN_PSW'
14+
MVN_REPO_ARGS = '-PinternalObjectBoxRepo=%MVN_REPO_URL% ' +
15+
'-PinternalObjectBoxRepoUser=%MVN_REPO_LOGIN_USR% ' +
16+
'-PinternalObjectBoxRepoPassword=%MVN_REPO_LOGIN_PSW%'
1717
}
1818

1919
options {

0 commit comments

Comments
 (0)