training jenkinsfile fix
Some checks failed
s444507-predict-s444356/pipeline/head This commit looks good
s444507-evaluation/pipeline/head There was a failure building this commit
444507-training/pipeline/head There was a failure building this commit

This commit is contained in:
Adam Wojdyla 2022-05-16 10:23:38 +02:00
parent 743c4c77ad
commit 9546d699e2

View File

@ -12,6 +12,11 @@ pipeline {
stage('Get artifacts') { stage('Get artifacts') {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful() 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: 'CarPrices_pytorch_model.pkl'
archiveArtifacts artifacts: 'mlruns/**' archiveArtifacts artifacts: 'mlruns/**'
archiveArtifacts artifacts: 'my_model/**' archiveArtifacts artifacts: 'my_model/**'
@ -20,12 +25,6 @@ pipeline {
build job: 's444507-evaluation/master/' build job: 's444507-evaluation/master/'
} }
} }
stage('Run mlflow script and save artifacts') {
steps {
sh "python3 lab08_deepLearining_mlflow.py $epoch"
}
}
} }
post { post {
always { always {