Add 'no changes' parameter to CHANGES tokens

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

XMLWordPrintable

      It'd be great if email-ext allowed to specify an alternative text if a CHANGE_... token is empty (i.e. no changes).

      Then I could add a notice if no changes are available to make it clear that nothing was changed:


      Changes:

      The following changes occurred since the last unstable build:

      There were no changes

      Build Log:

      blabla


      Otherwise, it'll just look like the following:


      Changes:

      The following changes occurred since the last unstable build:

      Build Log:

      blabla


      Example token:


      ${CHANGES_SINCE_LAST_UNSTABLE, reverse=true, default="<em>There were no changes.</em>"}
      

            Assignee:
            Jeff MAURY
            Reporter:
            Daniel Beck
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: