From f04d64dc20efa04d9cc44ac20f4de8a646a9e3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Zar=C4=99ba?= Date: Wed, 10 May 2023 18:55:53 +0200 Subject: [PATCH] d --- JenkinsfileEvaluate | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/JenkinsfileEvaluate b/JenkinsfileEvaluate index 814600a..b8cab13 100644 --- a/JenkinsfileEvaluate +++ b/JenkinsfileEvaluate @@ -18,9 +18,7 @@ pipeline { } stage('Pobierz model') { steps { - script { - copyArtifacts(projectName: 's487187-training/master', selector: specific("${params.BUILD_NUMBER}")) - } + copyArtifacts(projectName: 's487187-training/master', selector: lastSuccessful()) } } stage('Przygotowanie') {