Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23691

Support regex/replace attribute in ${CHANGES} token to modify changes message

    Details

    • Similar Issues:

      Description

      As a user, I want to modify the changes message in the email notifications.
      This is useful when a change contains a message in xml.

      For example:

      • Given a change with the message <defectId>DEFECT-666</defectId><message>Initial commit</message>
      • When I define the content of the email notifications as follows: ${CHANGES, regex="<defectId>(DEFECT-[0-9]+)</defectId><message>(.*)</message>", replace="[$1] $2"}
      • Then I should get an email notification with the following content: [DEFECT-666] Initial commit

        Attachments

          Activity

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              gssiyankai Gregory SSI-YAN-KAI
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: