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 {