diff --git a/datasetStats/Jenkinsfile b/datasetStats/Jenkinsfile index 1ef2e5b..10f47ba 100644 --- a/datasetStats/Jenkinsfile +++ b/datasetStats/Jenkinsfile @@ -1,10 +1,11 @@ pipeline { agent any parameters { - buildSelector( - defaultSelector: lastSuccesful(), + choice( + name: 'BUILD_SELECTOR', + choices: ['lastSuccessfulBuild()', 'lastStableBuild()', 'specificBuild(123)', 'tags(\'release-*\')'], description: 'Which build to use for copying artifacts', - name: 'BUILD_SELECTOR' + defaultVaue: 'lastSuccessfulBuild()' ) } stages {