This commit is contained in:
AWieczarek 2024-04-02 22:36:11 +02:00
parent 3777a1135d
commit 69a2b51a5a

15
Jenkinsfile vendored
View File

@ -15,18 +15,17 @@ pipeline {
} }
stage('Download, Process, and Split Dataset') { stage('Download, Process, and Split Dataset') {
agent { dockerfile {
additionalBuildArgs '--build-arg="KAGGLE_KEY=${env.KAGGLE_KEY}"'
}
}
steps {
withEnv([ withEnv([
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
"KAGGLE_KEY=${env.KAGGLE_KEY}" "KAGGLE_KEY=${env.KAGGLE_KEY}"
]) { ]) {
sh "python3 IUM_02.py" agent { dockerfile true}
} steps {
}
sh "python3 IUM_02.py"
}
}
} }
stage('Archive Results') { stage('Archive Results') {
steps { steps {