ium_444356/Jenkinsfile2

20 lines
526 B
Plaintext
Raw Permalink Normal View History

2022-03-25 22:06:35 +01: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-25 22:10:35 +01:00
copyArtifacts fingerprintArtifacts: true, projectName: 's444356-create-dataset', selector: buildParameter('BUILD_SELECTOR')
2022-03-25 22:06:35 +01:00
sh " ./stats.sh"
archiveArtifacts 'lines.txt'
}
}
}
}