ium_470623/Jenkinsfile_stats
2022-04-11 01:28:54 +02:00

25 lines
632 B
Plaintext

pipeline {
agent {
docker { image 'ium' }
}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
stages {
stage('Copy artifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's470623-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh './stats.sh'
}
}
stage('Archive') {
steps {
archiveArtifacts 'stats.txt'
}
}
}
}