25 lines
559 B
Groovy
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"
|
|
}
|
|
}
|
|
}
|
|
} |