ium_434704/Jenkinsfile_coop_registry
Wojciech Jarmosz b3e254c3a5
Some checks failed
s434704-predict-s426206-from-registry/pipeline/head There was a failure building this commit
Add model fetching from mlflow registry
2021-05-23 21:42:55 +02:00

19 lines
409 B
Plaintext

pipeline {
agent {dockerfile true, 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'
}
}
}
}