ium_434704/Jenkinsfile_coop_registry

21 lines
419 B
Plaintext
Raw Permalink Normal View History

pipeline {
2021-05-23 21:46:07 +02:00
agent {dockerfile {
args '-v /tmp/mlruns:/tmp/mlruns'
}}
parameters {
string(
defaultValue: 'input_example.json',
description: 'Input name',
name: 'INPUT_NAME',
trim: false
)
}
stages {
stage('Load model and run prediction') {
steps {
sh 'python3 mlflow_prediction_registry.py $INPUT_NAME'
}
}
}
}