fix jenkinsfile-dataset-stats

This commit is contained in:
jakubknczny 2021-03-28 18:33:07 +02:00
parent 7feb78d4f2
commit d9f7990ccf

View File

@ -1,15 +1,15 @@
pipeline {
agent any
properties([parameters([
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
])])
}
stages {
stage('copy artifacts') {
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') {