ium_470623/Jenkinsfile_stats

25 lines
632 B
Plaintext
Raw Normal View History

2022-03-28 01:14:06 +02:00
pipeline {
2022-04-11 00:40:48 +02:00
agent {
docker { image 'ium' }
2022-04-11 00:40:48 +02:00
}
2022-03-28 01:18:43 +02:00
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
2022-03-28 01:14:06 +02:00
stages {
stage('Copy artifacts') {
steps {
2022-03-28 01:18:43 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's470623-create-dataset', selector: buildParameter('BUILD_SELECTOR')
2022-03-28 01:14:06 +02:00
sh './stats.sh'
}
}
stage('Archive') {
steps {
archiveArtifacts 'stats.txt'
}
2022-03-28 01:15:15 +02:00
}
2022-03-28 01:14:06 +02:00
}
}