Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66667

the CompositeCauseOfBlockage descripton is too long

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • the lastest jenkins.

      the CompositeCauseOfBlockage descripton is too long, There are many repeated descriptions,

      
      49 	  <div class="pane build-details indent-multiline">
      50 	    <j:set var="cause" value="${item.getCauseOfBlockage()}"/>
      51 	    <j:choose>
      52 	      <j:when test="${cause!=null}">
      53 		(${%pending}—<st:include it="${cause}" page="summary.jelly"/>)
      54 	      </j:when>
      

      core/src/main/resources/jenkins/model/queue/CompositeCauseOfBlockage/summary.jelly in this file, it loop all the cause to show the descriptions on the UI.

      26 <?jelly escape-by-default='true'?>
      27 <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
      28     <j:forEach var="delegate" items="${it.uniqueReasons.values()}" indexVar="index">
      29         <j:if test="${index > 0}">; <wbr/></j:if>
      30         <st:include it="${delegate}" page="summary"/>
      31     </j:forEach>
      32 </j:jelly>
      33 
      

      see the Attachments picture.

            Unassigned Unassigned
            mmh19891113 bright.ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: