ium_s434700/predict-registry/Jenkinsfile
2021-06-08 18:56:11 +02:00

27 lines
616 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"
sh "cd /tmp"
sh "ls -al"
}
}
}
}