ium_464914/stats/Jenkinsfile

23 lines
702 B
Plaintext
Raw Normal View History

2024-03-26 20:09:49 +01:00
pipeline {
agent any
parameters {
2024-03-26 20:12:25 +01:00
buildSelector (
2024-03-26 20:09:49 +01:00
defaultSelector: lastSuccessful(),
description: 'Build for copying artifacts',
name: 'BUILD_SELECTOR'
2024-03-26 20:12:25 +01:00
)
2024-03-26 20:09:49 +01:00
}
stages {
stage('Copy Artifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's464914-create-dataset', selector: buildParameter('BUILD_SELECTOR')
}
}
stage('Build') {
steps {
sh "bash ./stats_dataset.sh"
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
}
}
}
}