Changed Jenkinsfile

This commit is contained in:
s464953 2024-03-23 20:28:50 +01:00
parent f94acb3e46
commit 69be9e43d1

8
Jenkinsfile vendored
View File

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