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

This commit is contained in:
Adam Wojdyla 2022-05-16 03:25:54 +02:00
parent f0f87bb6c5
commit 291a28cc18
2 changed files with 6 additions and 4 deletions

View File

@ -23,7 +23,7 @@ pipeline {
}
stage('Run prediction on model') {
steps {
sh "python3 lab08_predict.py $epoch"
sh "python3 lab08_predict.py"
}
}
}

View File

@ -9,6 +9,11 @@ pipeline {
stage('Get arifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful()
archiveArtifacts artifacts: 'CarPrices_pytorch_model.pkl'
archiveArtifacts artifacts: 'mlruns/**'
archiveArtifacts artifacts: 'my_model/**'
sh 'rm -r mlruns'
sh 'rm -r my_model'
}
}
stage('Train model with sacred') {
@ -18,9 +23,6 @@ pipeline {
}
}
post {
success {
archiveArtifacts artifacts: 'CarPrices_pytorch_model.pkl, mlruns/**, my_model/**', followSymlinks: false
}
always {
emailext body: "${currentBuild.currentResult}", subject: 's444507-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
}