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

          [JENKINS-15227] changelog.xml is NOT a xml style file

          Sayid Ma created issue -
          Sayid Ma made changes -
          Description Original: 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 New: 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

          Nicolas De Loof made changes -
          Assignee Original: Alan Harder [ mindless ] New: Nicolas De Loof [ ndeloof ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145949 ] New: JNJira + In-Review [ 176488 ]
          Alex Earl made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Alex Earl [ slide_o_mix ]
          Alex Earl made changes -
          Assignee Original: Alex Earl [ slide_o_mix ] New: Emilio Escobar [ escoem ]
          Mark Waite made changes -
          Assignee Original: Emilio Escobar [ escoem ]
          Mark Waite made changes -
          Priority Original: Critical [ 2 ] New: Trivial [ 5 ]

            Unassigned Unassigned
            pepsisky Sayid Ma
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: