Jenkinsfiles updates
This commit is contained in:
parent
9546d699e2
commit
de5cb4a5f8
@ -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') {
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user