Fix invoking script
Some checks failed
s444380-training/pipeline/head There was a failure building this commit

This commit is contained in:
Kamil Guttmann 2022-05-03 15:03:42 +02:00
parent 91ab537193
commit 5ce34a716e

View File

@ -27,7 +27,8 @@ pipeline {
}
stage("Train model") {
steps {
sh "./train_model.py $EPOCHS"
sh "chmod u+x ./train_model.py"
sh "python ./train_model.py $EPOCHS"
archiveArtifacts artifacts: "./model/*", onlyIfSuccessful: true
}
}