diff --git a/Jenkinsfile-stats b/Jenkinsfile-stats index 9e1cba8..382d752 100644 --- a/Jenkinsfile-stats +++ b/Jenkinsfile-stats @@ -1,5 +1,11 @@ pipeline { agent any + parameters{ + buildSelector( + defaultSelector: lastSuccessful(), + description: 'Which build to use for copying artifacts', + name: 'BUILD_SELECTOR') + } stages { stage('First step') { steps {