ium_s434700/predict-registry/Jenkinsfile
2021-06-10 14:59:48 +02:00

25 lines
559 B
Groovy

pipeline {
agent {
dockerfile {
args '-v /mlruns:/mlruns -v /tmp/mlruns:/tmp/mlruns'
}
}
stages {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 's430705-training/master',
target: 'prediction_data'])
}
}
}
stage('Predict example value'){
steps {
sh "python ./predict-registry/predict.py"
}
}
}
}