groovy interpolation of sensitive env vars
This commit is contained in:
parent
a0f3f901dc
commit
0e5423599b
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -19,8 +19,8 @@ pipeline {
|
||||
}
|
||||
stage('sh: Shell Script') {
|
||||
steps {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
withEnv(['KAGGLE_USERNAME=$params.KAGGLE_USERNAME',
|
||||
'KAGGLE_KEY=$params.KAGGLE_KEY']) {
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh 'chmod +x avocado-preprocessing.sh'
|
||||
sh 'chmod +x ./avocado-preprocessing.sh'
|
||||
|
Loading…
Reference in New Issue
Block a user