From 36e6ac8270ed1fa50fca8d065b2d01f062578f43 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Wed, 11 May 2022 20:35:10 +0200 Subject: [PATCH] Fix file param --- Jenkinsfile-predict-s444356 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-predict-s444356 b/Jenkinsfile-predict-s444356 index 8be4406..d131e75 100644 --- a/Jenkinsfile-predict-s444356 +++ b/Jenkinsfile-predict-s444356 @@ -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" } }