diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 5772b14..029531b 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -1,6 +1,8 @@ pipeline { agent any - + parameters { + buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR') + } stages { stage('checkout') { steps {