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