From 9546d699e23b472bb0d7aa682a54ca78e1385a08 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Mon, 16 May 2022 10:23:38 +0200 Subject: [PATCH] training jenkinsfile fix --- Jenkinsfile_training | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile_training b/Jenkinsfile_training index 57b5250..dbca904 100644 --- a/Jenkinsfile_training +++ b/Jenkinsfile_training @@ -12,6 +12,11 @@ pipeline { stage('Get artifacts') { steps { copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful() + } + } + stage('Run mlflow script and save artifacts') { + steps { + sh "python3 lab08_deepLearining_mlflow.py $epoch" archiveArtifacts artifacts: 'CarPrices_pytorch_model.pkl' archiveArtifacts artifacts: 'mlruns/**' archiveArtifacts artifacts: 'my_model/**' @@ -20,12 +25,6 @@ pipeline { build job: 's444507-evaluation/master/' } } - stage('Run mlflow script and save artifacts') { - steps { - sh "python3 lab08_deepLearining_mlflow.py $epoch" - - } - } } post { always {