Issue Type: Improvement Improvement
Affects Versions: current
Assignee: huybrechts
Attachments: job-configuration.gif, result.gif
Components: description-setter
Created: 24/Jun/12 10:12 AM
Description:

There is currently no way to create a multi line description based on multiple regex. The "Flexible publish" plugin gives me the possibility to call the description-setter plugin multiple times, but the last description-setter overwrites the result of the one before.

Therefore I added two checkboxes in the job configuration page for the plugin: One that says "Append description to existing description", which then calls build.getDescription() and prepends it to the current description.
The second checkbox "Append in a new line" is self explanatory and adds a "<br />" between the existing description and the current description.

I've also added the helppages, but I'm not sure if this is the right way to specify a help file for an optionalBlock element:
<f:optionalBlock ... help="${descriptor.getDescriptorFullUrl()}/help/setAppend">

but it actually works.

I would appreciate if you would merge my branch, because I think other people would need that feature as well.

Project: Jenkins
Priority: Major Major
Reporter: Florin Hillebrand
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to