fix jenkinsfile-dataset-stats
This commit is contained in:
parent
7feb78d4f2
commit
d9f7990ccf
@ -1,15 +1,15 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
properties([parameters([
|
parameters {
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
description: 'Which build to use for copying artifacts',
|
description: 'Which build to use for copying artifacts',
|
||||||
name: 'BUILD_SELECTOR')
|
name: 'BUILD_SELECTOR')
|
||||||
])])
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('copy artifacts') {
|
stage('copy artifacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's470607-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's470607-create-dataset', selector: "{$params.BUILD_SELECTOR)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('stats') {
|
stage('stats') {
|
||||||
|
Loading…
Reference in New Issue
Block a user