This commit is contained in:
s444417 2022-03-24 18:29:20 +01:00
parent 7e7149bfb2
commit e08b7cd8c2

6
Jenkinsfile vendored
View File

@ -29,12 +29,16 @@ pipeline {
} }
} }
stage("Check out from version control") { stage("Check out from version control") {
checkout scm steps {
checkout scm
}
} }
stage("Shell Script") { stage("Shell Script") {
steps {
sh "chmod u+x ./startscript.sh" sh "chmod u+x ./startscript.sh"
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript.sh" sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript.sh"
archiveArtifacts 'data.txt' archiveArtifacts 'data.txt'
}
} }
} }
} }