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' }