Fix file param
This commit is contained in:
parent
ad21010147
commit
36e6ac8270
@ -5,7 +5,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
file 'input_example.json'
|
file(
|
||||||
|
name: 'input_example.json',
|
||||||
|
description: 'Example input file for the model'
|
||||||
|
)
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
description: 'Which build to use for copying artifacts',
|
description: 'Which build to use for copying artifacts',
|
||||||
@ -21,6 +24,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Predict values using model from artifact') {
|
stage('Predict values using model from artifact') {
|
||||||
steps {
|
steps {
|
||||||
|
sh "cat input_example.json"
|
||||||
sh "python predict_s444356.py"
|
sh "python predict_s444356.py"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user