diff --git a/Jenkinsfile_stats b/Jenkinsfile_stats index 1ec9b03..865919a 100644 --- a/Jenkinsfile_stats +++ b/Jenkinsfile_stats @@ -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