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