ium_434804/Jenkinsfile_stats

16 lines
552 B
Plaintext
Raw Normal View History

pipeline {
agent any
parameters {
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
}
stages {
stage("Clone repo & print stats"){
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434804-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh "chmod 777 ./stats.sh"
sh "./stats.sh"
archiveArtifacts "stats.txt"
}
}
}
}