Jenkinsfiles updates
This commit is contained in:
parent
9546d699e2
commit
de5cb4a5f8
@ -10,9 +10,9 @@ pipeline {
|
||||
stages {
|
||||
stage('Get arifacts') {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
copyArtifacts fingerprintArtifacts: true, 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-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
copyArtifacts filter:'*', projectName: '444507-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR')
|
||||
copyArtifacts filter:'*', projectName: 's444507-evaluation/master', selector: buildParameter('BUILD_SELECTOR'), optional: true
|
||||
}
|
||||
}
|
||||
stage('Run evaluation') {
|
||||
|
@ -9,7 +9,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Predict values using model from artifact') {
|
||||
steps {
|
||||
sh "python3 predict_from_registry.py"
|
||||
sh "python3 lab08_predict_from_registry.py"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,6 +22,10 @@ pipeline {
|
||||
archiveArtifacts artifacts: 'my_model/**'
|
||||
sh 'rm -r mlruns'
|
||||
sh 'rm -r my_model'
|
||||
}
|
||||
}
|
||||
stage('Evaluate model') {
|
||||
steps {
|
||||
build job: 's444507-evaluation/master/'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user