This commit is contained in:
szymonj98 2022-03-27 12:33:32 +02:00
parent 152f57d3a1
commit f51d93b313
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,9 @@ pipeline{
stage('copy artefacts') {
steps {
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
sh "chmod u+x ./dataset_stats.sh"
sh "./dataset_stats.sh"
archiveArtifacts 'number_of_lines.txt'
}
}
}

1
dataset_stats.sh Normal file
View File

@ -0,0 +1 @@
wc -l data.csv >> number_of_lines.txt