Add Jenkins file for stats

This commit is contained in:
Wojciech Jarmosz 2021-03-28 19:02:08 +02:00
parent 3e7832b459
commit 115c00a10b

View File

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