2023-04-15 14:07:05 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
2023-04-16 08:19:21 +02:00
|
|
|
parameters {
|
|
|
|
buildSelector(
|
|
|
|
name: 'BUILD_SELECTOR',
|
|
|
|
description: 'Which build to use for copying artifacts',
|
2023-04-16 08:20:49 +02:00
|
|
|
defaultSelector: lastSuccessful()
|
2023-04-16 08:19:21 +02:00
|
|
|
)
|
|
|
|
}
|
2023-04-15 14:07:05 +02:00
|
|
|
stages {
|
2023-04-16 08:14:58 +02:00
|
|
|
stage('Checkout git clone') {
|
2023-04-15 14:07:05 +02:00
|
|
|
steps {
|
|
|
|
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487175/ium_z487175.git'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Copy dataset artifacts') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts(
|
|
|
|
projectName: 'z-s487175-create-dataset',
|
|
|
|
fingerprintArtifacts: true,
|
2023-04-16 08:20:49 +02:00
|
|
|
selector: buildSelector()
|
2023-04-15 14:07:05 +02:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|