Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Duplicate
-
None
Description
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>"}
Attachments
Issue Links
- duplicates
-
JENKINS-16532 ${CHANGES} token does not give any output for debugging or any "No Changes" response when there are no changes like the web page
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue duplicates |
Resolution | Duplicate [ 3 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Assignee | Alex Earl [ slide_o_mix ] | Jeff MAURY [ jeffmaury ] |
Link |
This issue is blocking |
Link | This issue is blocking WEBSITE-15 [ WEBSITE-15 ] |
Link |
This issue is blocking |
Workflow | JNJira [ 151848 ] | JNJira + In-Review [ 194117 ] |