26 lines
737 B
Plaintext
26 lines
737 B
Plaintext
pipeline {
|
|
agent any
|
|
parameters {
|
|
buildSelector(
|
|
name: 'BUILD_SELECTOR',
|
|
description: 'Which build to use for copying artifacts',
|
|
defaultSelector: lastSuccessful()
|
|
)
|
|
}
|
|
stages {
|
|
stage('Checkout git clone') {
|
|
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,
|
|
selector: buildParameter('BUILD_SELECTOR')
|
|
)
|
|
}
|
|
}
|
|
}
|
|
} |