env variable

This commit is contained in:
s444417 2022-03-24 22:50:12 +01:00
parent 0c2f9e20fc
commit 9874ca8688

4
Jenkinsfile vendored
View File

@ -26,7 +26,11 @@ pipeline {
stage("Shell Scripts") {
steps {
sh "chmod u+x ./startscript1.sh"
withEnv([
"KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
}
archiveArtifacts 'data.txt'
}
}