This commit is contained in:
Jakub Zaręba 2023-05-10 18:05:03 +02:00
parent 3eb9ddb6a6
commit c53ac58027

View File

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