ium_470607/Jenkinsfile_dataset_stats
2021-03-28 19:31:50 +02:00

27 lines
698 B
Plaintext

pipeline {
agent any
parameters {
buildSelector(
defaultSelector: upstream(),
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')
}
}
stage('stats') {
steps {
sh 'chmod +x dataset-stats.sh'
}
}
stage('archive artifacts') {
steps {
archiveArtifacts 'stats.txt'
}
}
}
}