Hopefully fix job configuration file reading
This commit is contained in:
parent
d5bcca655e
commit
2171a11762
|
@ -20,7 +20,6 @@ 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'))
|
||||||
configFileProvider([configFile(fileId: 'job-configuration.yaml', variable: 'JOB_CONFIGURATION_FILE')])
|
|
||||||
}
|
}
|
||||||
triggers {
|
triggers {
|
||||||
cron 'H * * * *'
|
cron 'H * * * *'
|
||||||
|
@ -55,7 +54,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
notifyBuildResult maintainers: (String) readYaml(file: $JOB_CONFIGURATION_FILE).notification?.email?.recipients
|
configFileProvider([configFile(fileId: 'job-configuration.yaml', variable: 'JOB_CONFIGURATION_FILE')]) {
|
||||||
|
notifyBuildResult maintainers: (String) readYaml(file: $JOB_CONFIGURATION_FILE).notification?.email?.recipients
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue