ium_430705/Jenkinsfile_predict

23 lines
570 B
Plaintext
Raw Normal View History

2021-05-23 14:15:08 +02:00
pipeline {
agent {dockerfile true}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
}
stages {
stage('copyArtifacts') {
steps {
2021-05-23 14:26:35 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's434804-training/master', selector: buildParameter('BUILD_SELECTOR')
2021-05-23 14:15:08 +02:00
}
}
stage('Predict example value'){
steps {
2021-05-23 14:16:33 +02:00
sh 'python3 "./lab_09_predict.py"'
2021-05-23 14:15:08 +02:00
}
}
}
}