IUM_03 - Jenkinsfile fix

This commit is contained in:
Paweł Łączkowski 2024-03-20 17:54:27 +01:00
parent 7dd3ef78ff
commit c1f418ce97

1
Jenkinsfile vendored
View File

@ -29,6 +29,7 @@ pipeline {
stage('Download dataset') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
sh "chmod +x download_dataset.sh"
sh "./download_dataset.sh $CUTOFF"
archiveArtifacts artifacts: 'data.csv', onlyIfSuccessful: true
}