fix Jenkinsfile_stats

This commit is contained in:
Łukasz Koziej 2023-03-29 00:38:41 +02:00
parent f67b67fad8
commit 8aa57a2dd4

View File

@ -14,10 +14,8 @@ node {
copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR')
}
stage('Script') {
withEnv() {
sh 'chmod u+x ./get_stats.sh'
sh './get_stats.sh'
}
sh '''wc -l books_edited.csv > stats.txt
'''
}
stage('Archive artifacts') {
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false