diff --git a/Jenkinsfile_predict b/Jenkinsfile_predict index 3de220b..3fe0659 100644 --- a/Jenkinsfile_predict +++ b/Jenkinsfile_predict @@ -13,7 +13,8 @@ pipeline { { steps { - copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-training/mlflow', selector: buildParameter('WHICH_BUILD')) + sh 'rm -r my_model' + copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-training/train', selector: buildParameter('WHICH_BUILD')) } } stage('predict') @@ -21,7 +22,6 @@ pipeline { steps { catchError { - sh 'rm -r my_model' sh 'python3.8 Zadanie_09_MLflow_Predict.py ${BATCH_SIZE} ${EPOCHS}' } }