Changed Jenkinsfile

This commit is contained in:
s464953 2024-03-23 20:28:50 +01:00
parent f94acb3e46
commit 69be9e43d1
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -21,11 +21,11 @@ pipeline {
git 'https://git.wmi.amu.edu.pl/s464953/ium_464953.git'
}
}
}
stage('Run Script') {
steps {
script {
sh 'bash download_dataset.sh $KAGGLE_USERNAME $KAGGLE_KEY'
}
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'bash download_dataset.sh $KAGGLE_USERNAME $KAGGLE_KEY'
}
}
stage('Archive Artifacts') {