Skip to content

Commit 0c7b52c

Browse files
committed
[#1956] Add maintainers email via Jenkins configuration
1 parent 5e42fa6 commit 0c7b52c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/release/Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ pipeline {
218218
}
219219
post {
220220
always {
221-
notifyBuildResult notifySuccessAfterSuccess: true, maintainers: '[email protected]'
221+
configFileProvider([configFile(fileId: 'job-configuration.yaml', variable: 'JOB_CONFIGURATION_FILE')]) {
222+
notifyBuildResult maintainers: (String) readYaml(file: env.JOB_CONFIGURATION_FILE).notification?.email?.recipients
223+
}
222224
}
223225
}
224226
}

0 commit comments

Comments
 (0)