Fix file param

This commit is contained in:
Marcin Kostrzewski 2022-05-11 20:35:10 +02:00
parent ad21010147
commit 36e6ac8270

View File

@ -5,7 +5,10 @@ pipeline {
}
}
parameters {
file 'input_example.json'
file(
name: 'input_example.json',
description: 'Example input file for the model'
)
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
@ -21,6 +24,7 @@ pipeline {
}
stage('Predict values using model from artifact') {
steps {
sh "cat input_example.json"
sh "python predict_s444356.py"
}
}