ium_444517/Jenkinsfile_pred_reg

32 lines
588 B
Plaintext
Raw Normal View History

pipeline {
agent {
dockerfile {
filename 'Dockerfile'
args '-v /mlruns:/mlruns'
}
}
parameters {
string(
defaultValue: 'input_example.json',
description: 'Input file name',
name: 'INPUT_FILE_NAME',
trim: false
)
}
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
}
}
stage('Prediction') {
steps {
sh 'python3 predict_registry.py $INPUT_FILE_NAME'
}
}
}
}