Return carries are not expanded in the Gerrit comment

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            rsandell
            Reporter:
            Victor Martinez
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: