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

9
Jenkinsfile vendored
View File

@ -15,16 +15,15 @@ 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}"
]) { ]) {
agent { dockerfile true}
steps {
sh "python3 IUM_02.py" sh "python3 IUM_02.py"
} }
} }
} }