This commit is contained in:
s434766 2021-05-07 21:55:47 +02:00
parent 6ff6d7996a
commit fdbcef08c4

View File

@ -3,6 +3,11 @@ pipeline {
dockerfile true dockerfile true
} }
parameters{ parameters{
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'WHICH_BUILD'
)
string( string(
defaultValue: '16', defaultValue: '16',
description: 'batch size', description: 'batch size',
@ -16,7 +21,7 @@ pipeline {
stages { stages {
stage('checkout') { stage('checkout') {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset' copyArtifacts(fingerprintArtifacts: true, projectName: 's434766-create-dataset',, selector: buildParameter('WHICH_BUILD'))
} }
} }
stage('Docker'){ stage('Docker'){