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

View File

@ -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)
}
}
}