This commit is contained in:
Maciej 2021-03-29 00:59:08 +02:00
parent e49c2aa5e1
commit a3d5cab581

10
Jenkinsfile vendored
View File

@ -18,11 +18,11 @@ pipeline {
} }
stage('sh: Shell Script') { stage('sh: Shell Script') {
steps { steps {
withEnv(["KAGGLE_USERNAME=${params.username}", withEnv(['KAGGLE_USERNAME=$params.username',
"KAGGLE_KEY=${params.key}" ]) { 'KAGGLE_KEY=$params.key' ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod +x preparations.sh' sh 'chmod +x preparations.sh'
sh './preparations.sh' sh './preparations.sh'
} }
} }
} }