From 6eb45183edefd62f48e96a4f201dc7382f3068c0 Mon Sep 17 00:00:00 2001 From: Kamil Guttmann Date: Sat, 7 May 2022 21:00:13 +0200 Subject: [PATCH] Use dockerfile in Jenkins --- Jenkinsfile.train | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile.train b/Jenkinsfile.train index d8778dd..420d805 100644 --- a/Jenkinsfile.train +++ b/Jenkinsfile.train @@ -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 } }