Jenkinsfile docker fix

This commit is contained in:
Andrzej Preibisz 2022-04-03 19:49:51 +02:00
parent 6843296f77
commit 1a6ecee662

4
Jenkinsfile vendored
View File

@ -31,8 +31,8 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}"]) {
sh "chmod 777 dataset_script.sh"
sh "./dataset_script.sh $CUTOFF"
sh "chmod 777 main_docker.py"
sh "python3 main_docker.py"
archiveArtifacts artifacts: "heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv", onlyIfSuccessful: true
}
}