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 {
|
||||
rateLimitBuilds(throttle: [count: 1, durationName: 'hour', userBoost: true])
|
||||
buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '3'))
|
||||
}
|
||||
triggers {
|
||||
cron 'H * * * *'
|
||||
disableConcurrentBuilds(abortPrevious: true)
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
|
@ -55,7 +53,7 @@ pipeline {
|
|||
post {
|
||||
always {
|
||||
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