From 3ed55cadfdf640ccaa9abe25a2f7a53a5ae78675 Mon Sep 17 00:00:00 2001 From: szymonj98 Date: Sun, 27 Mar 2022 12:28:44 +0200 Subject: [PATCH] zad 6 --- Jenkinsfile2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Jenkinsfile2 diff --git a/Jenkinsfile2 b/Jenkinsfile2 new file mode 100644 index 0000000..16c47fe --- /dev/null +++ b/Jenkinsfile2 @@ -0,0 +1,17 @@ +pipeline{ + agent any + parameters { + buildSelector( + defaultSelector: lastSuccessful(), + description: 'Which build to use for copying artifacts', + name: 'BUILD_SELECTOR') + } + stages{ + stage('copy artefacts') { + steps { + copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful() + } + } + } + +} \ No newline at end of file