This commit is contained in:
Jakub Zaręba 2023-05-10 18:59:28 +02:00
parent 9f1ca202e5
commit 083fa8a154

View File

@ -5,9 +5,9 @@ pipeline {
args '-v /root/.cache:/root/.cache -u root' args '-v /root/.cache:/root/.cache -u root'
} }
} }
parameters { // parameters {
buildSelector(name: 'BUILD_NUMBER', description: 'Wybierz numer buildu', defaultSelector: lastSuccessful()) // buildSelector(name: 'BUILD_NUMBER', description: 'Wybierz numer buildu', defaultSelector: lastSuccessful())
} // }
stages { stages {
stage('Pobierz dane') { stage('Pobierz dane') {
steps { steps {
@ -18,7 +18,7 @@ pipeline {
} }
stage('Pobierz model') { stage('Pobierz model') {
steps { steps {
copyArtifacts(projectName: 's487187-training/master', selector: specific("${params.BUILD_NUMBER}")) copyArtifacts(projectName: 's487187-training/master', selector: lastSuccessful()) //specific("${params.BUILD_NUMBER}")
} }
} }
stage('Przygotowanie') { stage('Przygotowanie') {