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