Fix invoking script
Some checks failed
s444380-training/pipeline/head There was a failure building this commit
Some checks failed
s444380-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
91ab537193
commit
5ce34a716e
@ -27,7 +27,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Train model") {
|
stage("Train model") {
|
||||||
steps {
|
steps {
|
||||||
sh "./train_model.py $EPOCHS"
|
sh "chmod u+x ./train_model.py"
|
||||||
|
sh "python ./train_model.py $EPOCHS"
|
||||||
archiveArtifacts artifacts: "./model/*", onlyIfSuccessful: true
|
archiveArtifacts artifacts: "./model/*", onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user