added git parameter
This commit is contained in:
parent
970f35ca35
commit
a613604cb5
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
|
||||
parameters {
|
||||
buildSelector(
|
||||
@ -19,6 +21,9 @@ pipeline {
|
||||
description: 'Which build to use for copying evaluation artifacts',
|
||||
name: 'BUILD_SELECTOR_EVALUATION'
|
||||
)
|
||||
|
||||
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
@ -29,7 +34,7 @@ pipeline {
|
||||
{
|
||||
copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-create-dataset', selector: buildParameter('BUILD_SELECTOR_DATASET'))
|
||||
copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-training/master', selector: buildParameter('BUILD_SELECTOR_TRAINING'))
|
||||
copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-evaluation/master', selector: buildParameter('BUILD_SELECTOR_EVALUATION', optional=true))
|
||||
copyArtifacts(fingerprintArtifacts: true, optional=true, projectName: 's434742-evaluation/master', selector: buildParameter('BUILD_SELECTOR_EVALUATION'))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user