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'
            }
        }

    }
}