This commit is contained in:
AWieczarek 2024-04-09 17:58:17 +02:00
parent c47828232d
commit af1560fc39

9
Jenkinsfile vendored
View File

@ -16,18 +16,15 @@ pipeline {
stage('Download, Process, and Split Dataset') {
agent {
dockerfile {
args "-e KAGGLE_USERNAME=${env.KAGGLE_USERNAME} -e KAGGLE_KEY=${env.KAGGLE_KEY}"
}
dockerfile true
}
steps {
withEnv([
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
"KAGGLE_KEY=${env.KAGGLE_KEY}"
]) {
// sh "echo 'The parameter value is: $KAGGLE_USERNAME'"
// sh 'export KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"'
// sh 'export KAGGLE_KEY=${env.KAGGLE_KEY}"'
sh "echo === VARIABLE SUBSTITUTION ==="
sh "echo ${params.KAGGLE_USERNAME}"'
sh "python3 IUM_02.py"
}
}