digest.jelly #6

  • //
  • guest/
  • perforce_software/
  • p4jenkins/
  • main/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4/
  • changes/
  • P4ChangeSet/
  • digest.jelly
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<?jelly escape-by-default='true'?>
<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:choose>
        <j:when test="${it.emptySet}">
            No changes from last build.
        </j:when>
        <j:otherwise>
            <b>Summary Of Changes</b> - <b>
                <a href="changes">View Detail</a>
            </b>
            <br/>
            <j:forEach var="c" items="${it.history}" varStatus="loop">
                <j:choose>
                    <j:when test="${c.shelved}">                                            
                        <j:set var="divColor" value="background-color:white"/>
                    </j:when>	
                    <j:otherwise>
                        <j:set var="divColor" value="background-color:#F5F0FA"/>
                    </j:otherwise>
                </j:choose>
            
                <div class="changeset-message" style="width: 650px; margin-bottom: 4px;${divColor}">  
                    	
                    <j:choose>
                        <j:when test="${c.id == null}">
                            No connection to Perforce.
                        </j:when>
			
                        <j:otherwise>
                            <j:choose>
                                <j:when test="${c.shelved}">                                            
                                    <img src="${rootURL}/plugin/p4/icons/shelved.png" border="0" style="vertical-align: middle"/>
                                </j:when>	
                                <j:otherwise>
                                    <img src="${rootURL}/plugin/p4/icons/submitted.png" border="0" style="vertical-align: middle"/>
                                </j:otherwise>
                            </j:choose>
					
                            <a href="changes#detail${loop.index}">${c.id}</a>
                            by <a href="${rootURL}/${c.author.url}/">${c.author}@${c.clientId}</a>
                            on <i:formatDate value="${c.date}" type="both" dateStyle="medium" timeStyle="medium"/>
                            <hr/>
                            ${c.msgAnnotated}
                                        
                            <br/>
                        </j:otherwise>
                    </j:choose>
                </div>
			
            </j:forEach>
        </j:otherwise>
    </j:choose>
</j:jelly>
# Change User Description Committed
#9 26766 Paul Allen Merge pull request #120 from VirtualTim/patch-1

Remove background colour for change list
#8 22128 Paul Allen Helix Graph support for Jenkins.

JENKINS-40354
#7 21042 Paul Allen Use `textarea` for change description (CSS: 10 rows max)

JENKINS-39257
#6 20247 stuartr Access 'author' User and User url through the current P4ChangeEntry
#5 19519 Paul Allen Jelly header update.

<?jelly escape-by-default='true'?>
#4 11338 Paul Allen Copying (mjoubert) Icon and Jelly changes using p4-jenkins
#3 10201 Paul Allen Fix page loading error with no connection to P4
#2 9696 Paul Allen Updated install notes and removed old ref to p4-client
#1 9690 Paul Allen [Branching using p4-jenkins]
Release 1.0.1
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/resources/org/jenkinsci/plugins/p4/changes/P4ChangeSet/digest.jelly
#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/digest.jelly
#2 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)
#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