From c9b575549c427d9fbdf57fb693fef6325ada846b Mon Sep 17 00:00:00 2001 From: Andrzej Preibisz Date: Sun, 27 Mar 2022 17:59:09 +0200 Subject: [PATCH] stats fixes --- Jenkinsfile.stats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile.stats b/Jenkinsfile.stats index d7f01db..7cd7d74 100644 --- a/Jenkinsfile.stats +++ b/Jenkinsfile.stats @@ -10,7 +10,7 @@ pipeline { stages { stage('Copy artifacts') { steps { - copyArtifacts filter: 'heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv', fingerprintArtifacts: true, projectName: 's444465-create-dataset', selector: BUILD_SELECTOR + copyArtifacts filter: 'heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv', fingerprintArtifacts: true, projectName: 's444465-create-dataset', selector: buildParameter('BUILD_SELECTOR') } } stage("Git clone"){ @@ -20,6 +20,7 @@ pipeline { } stage("sh: Shell Script") { steps { + sh "chmod 777 dataset_stats.sh" sh "./dataset_stats.sh | tee stats.txt" archiveArtifacts artifacts: "stats.txt", onlyIfSuccessful: true }