-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
Afer using GIT plugin, the changelog.xml under jobs/job_name/date_time/ is as text/plain style file not a xml style file which leads to interpretion issue by using a jelly script to publish the git commits logs
<j:set var="changeSet" value="${build.changeSet}" />
<j:if test="${changeSet!=null}">
<j:set var="hadChanges" value="false" />
<TABLE width="100%">
<TR><TD class="bg1" colspan="2"><B>CHANGES</B></TD></TR>
<j:forEach var="cs" items="${changeSet.logs}" varStatus="loop">
<j:set var="hadChanges" value="true" />
<j:set var="aUser" value="${cs.hudsonUser}"/>
<TR>
<TD colspan="2" class="bg2">${spc}Revision <B>${cs.revision}</B> by
<B><j:choose>
<j:when test="${aUser!=null}">${aUser.displayName}: </j:when>
<j:otherwise>${cs.user}: </j:otherwise>
</j:choose></B>
<B>(${cs.msgAnnotated})</B>
</TD>
</TR>
<j:forEach var="p" items="${cs.paths}">
<TR>
<TD width="10%">${spc}${p.editType.name}</TD>
<TD>${p.value}</TD>
</TR>
</j:forEach>
</j:forEach>
<j:if test="${!hadChanges}">
<TR><TD colspan="2">No Changes</TD></TR>
</j:if>
</TABLE>
<BR/>
</j:if>
email display:
Revision 1127083ecf3db6518d6788c746ae082e8bf50447 by :(modify 9 files for testing)
edit
edit
edit
edit
edit
edit
edit
edit
edit
It is also spamming log file with see SAXParseException complaining about "content not allowed in prolog" and failing to parse changelog.xml for some jobs