jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-37885] Build parameters not available in custom build messages
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
In an earlier version of the plugin parameters could be used in custom build messages. Now they are not processed any more.
To configure custom build messages: job > configure > Gerrit Trigger > Advanced > Custom Build Messages
Use a parameter like in one of the messages (like Build Successful Message).
The expected result is that the parameter is replaced with it's value, instead it is not processed and it is output as is.
Similar functionality can be seen in the server configuration: Jenkins > Manage Jenkins > Gerrit Trigger > Edit server > Advanced > Gerrit Verified Commands
---
Originally reported by
siebe, imported from: Build parameters not available in custom build messages
rsandell
Raw content of original issue
In an earlier version of the plugin parameters could be used in custom build messages. Now they are not processed any more.
To configure custom build messages: job > configure > Gerrit Trigger > Advanced > Custom Build Messages
Use a parameter like <CHANGE> in one of the messages (like Build Successful Message).
The expected result is that the parameter is replaced with it's value, instead it is not processed and it is output as is.Similar functionality can be seen in the server configuration: Jenkins > Manage Jenkins > Gerrit Trigger > Edit server > Advanced > Gerrit Verified Commands
environment
```
OS: Ubuntu 16.04.1 LTS (GNU/Linux 3.13.0-88-generic x86_64)
Java: 1.8.0_91
Jenkins: 2.17
Plugin version: 2.22.0
```
Contributor guide
Assessment
This issue has not been assessed yet.