This commit is contained in:
s444417 2022-03-24 22:55:09 +01:00
parent 9874ca8688
commit 55e68cc2cc

6
Jenkinsfile vendored
View File

@ -26,11 +26,7 @@ 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"
}
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${env.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
archiveArtifacts 'data.txt'
}
}