From 050201639ebebe9d319a93782fab9a7f1cf23d3d Mon Sep 17 00:00:00 2001
From: koziej97 <lukkoz2@st.amu.edu.pl>
Date: Wed, 29 Mar 2023 00:35:53 +0200
Subject: [PATCH] fixed Jenkinsfile_stats

---
 Jenkinsfile_stats | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile_stats b/Jenkinsfile_stats
index dca6ba2..e1940ca 100644
--- a/Jenkinsfile_stats
+++ b/Jenkinsfile_stats
@@ -13,7 +13,7 @@ node {
     stage('Copy artifacts') {
         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'
     }