From 4db0f002e09196cacd56889b86198367570b5f0e Mon Sep 17 00:00:00 2001 From: piotr6789 Date: Sun, 28 Mar 2021 22:31:20 +0200 Subject: [PATCH] fix pipeline2 --- Jenkinsfile2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {