From bd18c8b09d20a2e30dbc7d90f7610346e207e694 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Sun, 27 Mar 2022 14:37:28 +0200 Subject: [PATCH] stats fix --- Jenkinsfile2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index b786b9b..60aed60 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -10,8 +10,7 @@ pipeline { stages { stage("Script") { steps { - copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful() sh " ./stats.sh" - archiveArtifacts 'lines.txt' + copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: buildParameter('BUILD_SELECTOR') sh './stats.sh' archiveArtifacts artifacts: 'stats.txt' }