From 66dc3f934063e4f7263733c7cbe2b8e28c1901f6 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Fri, 1 Apr 2022 23:47:17 +0200 Subject: [PATCH] working pass read param --- Jenkinsfile3 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile3 b/Jenkinsfile3 index 0574978..cbe9da1 100644 --- a/Jenkinsfile3 +++ b/Jenkinsfile3 @@ -11,17 +11,22 @@ pipeline { description: 'Kaggle token', name: 'KAGGLE_KEY' ) + string( + defaultValue: '117928', + description: 'Cutoff', + name: 'CUTOFF', + trim: false + ) } agent { dockerfile{ additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY"' - } } stages { - stage('Test') { + stage('Prepare dataset') { steps { - sh 'env' + sh './download.sh $CUTOFF' } } }