Hopefully fix job configuration file reading and remodel trigger and concurrent execution of snapshot publish job
This commit is contained in:
parent
0b0b4fbdec
commit
604150fe47
|
@ -20,9 +20,7 @@ pipeline {
|
||||||
options {
|
options {
|
||||||
rateLimitBuilds(throttle: [count: 1, durationName: 'hour', userBoost: true])
|
rateLimitBuilds(throttle: [count: 1, durationName: 'hour', userBoost: true])
|
||||||
buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '3'))
|
buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '3'))
|
||||||
}
|
disableConcurrentBuilds(abortPrevious: true)
|
||||||
triggers {
|
|
||||||
cron 'H * * * *'
|
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
|
@ -55,7 +53,7 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
configFileProvider([configFile(fileId: 'job-configuration.yaml', variable: 'JOB_CONFIGURATION_FILE')]) {
|
configFileProvider([configFile(fileId: 'job-configuration.yaml', variable: 'JOB_CONFIGURATION_FILE')]) {
|
||||||
notifyBuildResult maintainers: (String) readYaml(file: $env.JOB_CONFIGURATION_FILE).notification?.email?.recipients
|
notifyBuildResult maintainers: (String) readYaml(file: env.JOB_CONFIGURATION_FILE).notification?.email?.recipients
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue