ium_430705/Jenkinsfile_Stats
michalzareba cec04a1740 add task2
2021-03-28 21:25:06 +02:00

16 lines
578 B
Plaintext

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: 's430705-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh "chmod 777 ./return_files_lines.sh"
sh "./return_files_lines.sh"
archiveArtifacts "stats.txt"
}
}
}
}