Use dockerfile in Jenkins
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
798937cb87
commit
6eb45183ed
@ -1,6 +1,6 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker { image 'kamilguttmann/ium:train' }
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string (
|
||||
@ -28,7 +28,7 @@ pipeline {
|
||||
stage("Train model") {
|
||||
steps {
|
||||
sh "chmod u+x ./train_model.py"
|
||||
sh "python3 ./train_model.py with 'epcohs=$EPOCHS'"
|
||||
sh "python3 ./train_model.py with 'epochs=$EPOCHS'"
|
||||
archiveArtifacts artifacts: "model/*, out.csv, experiments/*/*", onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user