Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-73168] Restore 'No changes' label when there are no changes in a build #9283

Merged
merged 1 commit into from
May 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions core/src/main/resources/jenkins/scm/RunWithSCM/changesets.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:t="/lib/hudson">
<j:set var="changeSets" value="${it.changeSets}"/>
<j:if test="${!changeSets.isEmpty()}">
<table>
<t:summary icon="symbol-changes">
<j:forEach var="changeSet" items="${changeSets}">
<st:include it="${changeSet}" page="digest.jelly"/>
</j:forEach>
</t:summary>
</table>
</j:if>
<table>
<t:summary icon="symbol-changes">
<j:choose>
<j:when test="${!changeSets.isEmpty()}">
<j:forEach var="changeSet" items="${changeSets}">
<st:include it="${changeSet}" page="digest.jelly"/>
</j:forEach>
</j:when>
<j:otherwise>
<st:include class="hudson.scm.EmptyChangeLogSet" page="digest.jelly" />
</j:otherwise>
</j:choose>
</t:summary>
</table>
</j:jelly>
Loading