diff --git a/JenkinsfileEvaluate b/JenkinsfileEvaluate index d7a19d0..d2b3c31 100644 --- a/JenkinsfileEvaluate +++ b/JenkinsfileEvaluate @@ -8,6 +8,7 @@ pipeline { parameters { gitParameter name: 'BRANCH', type: 'PT_BRANCH' buildSelector(name: 'BUILD_NUMBER', description: 'Wybierz numer buildu', defaultSelector: lastSuccessful()) + nameSelector(name: 'NAME', description: 'Wybierz nazwe', defaultSelector: 's487187-training/%00') } stages { stage('Preparation') { @@ -25,7 +26,7 @@ pipeline { stage('Pobierz model') { steps { script { - copyArtifacts(projectName: 's487187-training', selector: specific("${params.BUILD_NUMBER}"), fingerprintArtifacts: true) + copyArtifacts(projectName: specific("${params.NAME}"), selector: specific("${params.BUILD_NUMBER}"), fingerprintArtifacts: true) } } }