-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: gerrit-trigger-plugin
Hi there,
I've been struggling a bit to be able to format the gerrit comment with some blank lines but it seems it only works with single lines rather than multilines. Return carries (\n | \r\n) are not expanded as return carries but as strings.
For instance:
This is the current Gerrit Trigget configuration within Jenkins

And, in the below screenshot you can see the output in the gerrit review:

It only happens when using the Gerrit Verified Commands or the Job Custom Build messages, but it works when using the setGerritReview unsuccessfulMessage in the pipeline or the Unsuccessful Message File in the Job.
Please let me know if you need further details and also whether this is a genuine requirement of probably an expected behaviour.
Thanks