Jenkinsfiles updates
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:42:07 +02:00
parent 9546d699e2
commit de5cb4a5f8
3 changed files with 8 additions and 4 deletions

View File

@ -10,9 +10,9 @@ pipeline {
stages { stages {
stage('Get arifacts') { stage('Get arifacts') {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts filter:'*', projectName: 's444507-create-dataset', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts fingerprintArtifacts: true, projectName: '444507-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR') copyArtifacts filter:'*', projectName: '444507-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-evaluation/master', selector: buildParameter('BUILD_SELECTOR'), optional: true copyArtifacts filter:'*', projectName: 's444507-evaluation/master', selector: buildParameter('BUILD_SELECTOR'), optional: true
} }
} }
stage('Run evaluation') { stage('Run evaluation') {

View File

@ -9,7 +9,7 @@ pipeline {
stages { stages {
stage('Predict values using model from artifact') { stage('Predict values using model from artifact') {
steps { steps {
sh "python3 predict_from_registry.py" sh "python3 lab08_predict_from_registry.py"
} }
} }
} }

View File

@ -22,6 +22,10 @@ pipeline {
archiveArtifacts artifacts: 'my_model/**' archiveArtifacts artifacts: 'my_model/**'
sh 'rm -r mlruns' sh 'rm -r mlruns'
sh 'rm -r my_model' sh 'rm -r my_model'
}
}
stage('Evaluate model') {
steps {
build job: 's444507-evaluation/master/' build job: 's444507-evaluation/master/'
} }
} }