From 98ea8196204a738fa9ac19ad6aadc48183290ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Tue, 18 Apr 2023 20:53:27 +0200 Subject: [PATCH] Update 'Jenkinsfile_dataset_stats' --- Jenkinsfile_dataset_stats | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile_dataset_stats b/Jenkinsfile_dataset_stats index b27ce23..323c48d 100644 --- a/Jenkinsfile_dataset_stats +++ b/Jenkinsfile_dataset_stats @@ -1,7 +1,12 @@ pipeline { agent any //Definijuemy parametry, które będzie można podać podczas wywoływania zadania - parameters{} + parameters{ + choice( + choices: ['lastSuccessful()', 'lastCompleted()', 'latestSavedBuild()'], + description: 'Which build to use for copying artifacts', + name: 'BUILD_SELECTOR' + )} stages { stage('clear_all') { steps {