training jenkinsfile fix
This commit is contained in:
parent
743c4c77ad
commit
9546d699e2
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user