ium_444386/Jenkinsfile2

20 lines
484 B
Plaintext
Raw Normal View History

2022-03-27 12:28:44 +02:00
pipeline{
agent any
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
}
stages{
stage('copy artefacts') {
steps {
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
2022-03-27 12:33:32 +02:00
sh "chmod u+x ./dataset_stats.sh"
sh "./dataset_stats.sh"
archiveArtifacts 'number_of_lines.txt'
2022-03-27 12:28:44 +02:00
}
}
}
}