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') {
steps {
withEnv(["KAGGLE_USERNAME=${params.username}",
"KAGGLE_KEY=${params.key}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod +x preparations.sh'
sh './preparations.sh'
withEnv(['KAGGLE_USERNAME=$params.username',
'KAGGLE_KEY=$params.key' ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod +x preparations.sh'
sh './preparations.sh'
}
}
}