Add Jenkins file for stats

This commit is contained in:
Wojciech Jarmosz 2021-03-28 18:56:25 +02:00
parent 3328779514
commit 901cc48da2

View File

@ -6,7 +6,7 @@ pipeline {
stages {
stage("Clone repo & print stats"){
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: ${params.BUILD_SELECTOR}
sh "chmod 777 ./count_files_lines.sh"
sh "./count_files_lines.sh"
archiveArtifacts "stats.txt"