From 083fa8a154555ed49c98b937aaa7756815b215ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Zar=C4=99ba?= Date: Wed, 10 May 2023 18:59:28 +0200 Subject: [PATCH] d --- JenkinsfileEvaluate | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/JenkinsfileEvaluate b/JenkinsfileEvaluate index 6761cb4..e5b424e 100644 --- a/JenkinsfileEvaluate +++ b/JenkinsfileEvaluate @@ -5,9 +5,9 @@ pipeline { args '-v /root/.cache:/root/.cache -u root' } } - parameters { - buildSelector(name: 'BUILD_NUMBER', description: 'Wybierz numer buildu', defaultSelector: lastSuccessful()) - } + // parameters { + // buildSelector(name: 'BUILD_NUMBER', description: 'Wybierz numer buildu', defaultSelector: lastSuccessful()) + // } stages { stage('Pobierz dane') { steps { @@ -18,7 +18,7 @@ pipeline { } stage('Pobierz model') { steps { - copyArtifacts(projectName: 's487187-training/master', selector: specific("${params.BUILD_NUMBER}")) + copyArtifacts(projectName: 's487187-training/master', selector: lastSuccessful()) //specific("${params.BUILD_NUMBER}") } } stage('Przygotowanie') {