diff --git a/Jenkinsfile1 b/Jenkinsfile1 index a190a8a..472d270 100644 --- a/Jenkinsfile1 +++ b/Jenkinsfile1 @@ -1,16 +1,13 @@ pipeline { - agent any + agent any + parameters{ + buildSelector( + defaultSelector: lastSuccessful(), + description: 'Which build to use for copying artifacts', + name: 'BUILD_SELECTOR' + ) + } stages { - stage('Preparation') { - properties([ - parameters([ - buildSelector( - defaultSelector: lastSuccessful(), - description: 'Which build to use for copying artifacts', - name: 'BUILD_SELECTOR') - ]) - ]) - } stage('Stage 1') { steps { echo 'Checking out...'