get artifacts from first build

This commit is contained in:
Szymon Parafiński 2022-04-04 00:03:50 +02:00
parent 8ec51f1c61
commit 1f0456b17e

View File

@ -14,6 +14,7 @@ pipeline {
stages { stages {
stage("Script") { stage("Script") {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444018-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'chmod +x ./lab2/stats.sh' sh 'chmod +x ./lab2/stats.sh'
sh "./lab2/stats.sh" sh "./lab2/stats.sh"
archiveArtifacts 'stats.txt' archiveArtifacts 'stats.txt'