ium_444507/Jenkinsfile2

19 lines
550 B
Plaintext
Raw Normal View History

2022-03-27 14:34:07 +02:00
pipeline {
agent any
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
name: 'BUILD_SELECTOR',
description: 'Which build to use for copying artifacts'
)
}
stages {
stage("Script") {
steps {
2022-03-27 14:37:28 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: buildParameter('BUILD_SELECTOR')
2022-03-27 14:34:07 +02:00
sh './stats.sh'
archiveArtifacts artifacts: 'stats.txt'
}
}
}
}