index.jelly #2

  • //
  • guest/
  • paul_allen/
  • dev/
  • p4-jenkins/
  • p4-client/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4/
  • changes/
  • P4ChangeSet/
  • index.jelly
  • View
  • Commits
  • Open Download .zip Download (3 KB)
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<j:set var="browser" value="${it.build.parent.scm.effectiveBrowser}"/>
<j:choose>
	<j:when test="${it.emptySet}">
		No changes from last build.
	</j:when>
	<j:otherwise>

		<j:forEach var="entry" items="${it.history}" varStatus="loop">

			<div class="changeset-message" style="width: 650px; margin-bottom: 4px;">
				<a name="detail${loop.index}"></a>
				<img src="${rootURL}/plugin/p4/icons/changelist.gif" border="0" style="vertical-align: middle"/>

				<j:choose>
					<j:when test="${entry.label}">
						<b><a href="${browser.getLabelSetLink(entry)}">${entry.id}</a></b>
					</j:when>
					<j:otherwise>
						<b><a href="${browser.getChangeSetLink(entry)}">${entry.id}</a></b>
					</j:otherwise>
				</j:choose>
				
				by <a href="${rootURL}/${entry.author.url}/">${entry.author}@${entry.clientId}</a>
				on <i:formatDate value="${entry.date}" type="both" dateStyle="medium" timeStyle="medium"/>
				<hr/>
				${entry.msgAnnotated}
				<br/>
			</div>
			
			<j:if test="${entry.files.size() > 0}">
				<j:choose>
					<j:when test="${entry.shelved}">
						Shelved Files:
					</j:when>	
					<j:otherwise>
						Submitted Files:
					</j:otherwise>
				</j:choose>
				
				<ul style="list-style-type: none;">
					<j:forEach var="file" items="${entry.files}" varStatus="fileloop">
						<li><img src="${rootURL}/plugin/p4/icons/action-${entry.getAction(file)}.gif" border="0" style="vertical-align"/>
						<st:nbsp/> 
						<a href="${browser.getFileLink(file)}">${file.depotPathString}</a>
            			<j:set var="diff" value="${browser.getDiffLink(file)}"/>
            			<j:choose>
            				<j:when test="${diff!=null}">
              					<st:nbsp/>
              					<a href="${diff}">#${file.endRevision}</a>
              				</j:when>
              				<j:otherwise>
              				#${file.endRevision}
              				</j:otherwise>
              			</j:choose>
						</li>
					</j:forEach>
				</ul>
			</j:if>

			<j:if test="${entry.jobs.size() > 0}">
				Affected Jobs:
				<ul style="list-style-type: none;">
					<j:forEach var="job" items="${entry.jobs}" varStatus="jobloop">
						<p><img src="${rootURL}/plugin/p4/icons/job.gif" border="0" style="vertical-align"/>
						<st:nbsp/>
						<a href="${browser.getJobLink(job)}">${job.id}</a>
						- ${entry.getJobStatus(job)}
						<br/>
						${entry.getJobSummary(job)}
						</p>
					</j:forEach>
				</ul>
			</j:if>

		</j:forEach>
	</j:otherwise>
</j:choose>
</j:jelly>
# Change User Description Committed
#6 9800 Paul Allen Limited files to 50 for Change reporting.

Moved client less functions out of ClientHelper and moved login to parent class.
#5 9754 Paul Allen Clear Workspace environment betweeen builds.
#4 9753 Paul Allen File limit on detailed change set view.

Limited the list of files shown in a change to 50 for changes contributing to a build.
#3 9699 Paul Allen [Merging using p4-jenkins] Main to Dev
#2 9697 Paul Allen merge: install + p4-client update
#1 9672 Paul Allen Refactor name from 'p4_client' to 'p4'.
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/resources/org/jenkinsci/plugins/p4_client/changes/P4ChangeSet/index.jelly
#4 9127 Paul Allen Added Browser support for P4Web.
 - Includes fix for move/add and move/delete icons when browsing change lists.
#3 9055 Paul Allen Label support.

Build at a label using the pram 'label'.  This includes adding the label to the ChangeEntry, building the change reports and Browser links to Swarm. (TPI-102)
#2 8916 Paul Allen Unit tests for ChangeLog feature and minor fix when listing files if the change is Submitted or Shelved.
#1 8915 Paul Allen Support for ChangeLog and RepoBrowser.

 - Added RepoBrowser for Swarm (porting the others should be easy)
 - ChangeLog XML file now only stores the changelist number all other information is fetched from Perforce