This commit is contained in:
AWieczarek 2024-04-02 22:47:08 +02:00
parent 69a2b51a5a
commit 7f42f1b56e

15
Jenkinsfile vendored
View File

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