2023-04-17 21:58:06 +02:00
|
|
|
node {
|
2023-04-18 19:37:01 +02:00
|
|
|
stage('Preparation') {
|
|
|
|
properties([
|
|
|
|
parameters([
|
|
|
|
buildSelector(
|
|
|
|
defaultSelector: lastSuccessful(),
|
|
|
|
description: 'Which build to use for copying artifacts',
|
|
|
|
name: 'BUILD_SELECTOR')
|
|
|
|
])
|
|
|
|
])
|
|
|
|
}
|
2023-04-17 21:58:06 +02:00
|
|
|
stage('checkout: Check out from version control') {
|
|
|
|
checkout scm
|
|
|
|
}
|
2023-04-18 19:37:01 +02:00
|
|
|
stage('Copy Artifacts') {
|
2023-04-18 19:40:57 +02:00
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's487182-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
2023-04-18 19:42:05 +02:00
|
|
|
archiveArtifacts artifacts: 'waterQuality.csv, output.txt'
|
2023-04-18 19:37:01 +02:00
|
|
|
}
|
2023-04-17 21:58:06 +02:00
|
|
|
}
|