diff --git a/Jenkinsfile_stats b/Jenkinsfile_stats index e1940ca..1ec9b03 100644 --- a/Jenkinsfile_stats +++ b/Jenkinsfile_stats @@ -13,9 +13,11 @@ node { stage('Copy artifacts') { copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR') } - withEnv() { - sh 'chmod u+x ./get_stats.sh' - sh './get_stats.sh' + stage('Script') { + withEnv() { + sh 'chmod u+x ./get_stats.sh' + sh './get_stats.sh' + } } stage('Archive artifacts') { archiveArtifacts artifacts: 'stats.txt', followSymlinks: false