Fix invoking script v2
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
5ce34a716e
commit
e934c1bf17
@ -28,7 +28,7 @@ pipeline {
|
|||||||
stage("Train model") {
|
stage("Train model") {
|
||||||
steps {
|
steps {
|
||||||
sh "chmod u+x ./train_model.py"
|
sh "chmod u+x ./train_model.py"
|
||||||
sh "python ./train_model.py $EPOCHS"
|
sh "python3 ./train_model.py $EPOCHS"
|
||||||
archiveArtifacts artifacts: "./model/*", onlyIfSuccessful: true
|
archiveArtifacts artifacts: "./model/*", onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user