Use dockerfile in Jenkins
Some checks failed
s444380-training/pipeline/head There was a failure building this commit

This commit is contained in:
Kamil Guttmann 2022-05-07 21:00:13 +02:00
parent 798937cb87
commit 6eb45183ed

View File

@ -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
}
}