[ 
https://issues.jenkins-ci.org/browse/JENKINS-8227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160533#comment-160533
 ] 

wernight commented on JENKINS-8227:
-----------------------------------

Same here. We have some very long jobs and we'd like to know who queued some 
jobs and with which parameters.
                
> queue: job information extension
> --------------------------------
>
>                 Key: JENKINS-8227
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-8227
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: core
>         Environment: Hudson 1.382
>            Reporter: krulls
>            Priority: Trivial
>
> This is a suggestion to extend the information tooltip in the queue.jelly:
> As we have a lot of jobs that are building regularly from time schedule our 
> hudson queue has a lot of items. People wanted to know which of these 
> scheduled jobs were caused by a user action to potentially abort 
> automatically scheduled builds. So I modified the _queue.jelly_ file in the 
> core.jar under _lib/hudson_
> Maybe this would be a feature for other customers too? Here are the 
> modifications (relate to hudson 1.382) surrounded by comments:
> {code:title=queue.jelly}
> ...
>       <j:otherwise>
>         <j:forEach var="item" items="${items}">
>           <tr>
>     <!-- MOD info causes -->
>             <j:set var="allCausesText">
>             Trigger Causes:</j:set>
>             <j:set var="userCause" value="${false}" />
>             <j:forEach var="ca" items="${item.causes}">
>                 <j:set var="allCausesText">${allCausesText}
>                  - ${ca.shortDescription}
>                 </j:set>
>                 <j:if test="${ca.class.name.contains('UserCause')}">
>                     <j:set var="userCause" value="${true}" />
>                 </j:if>
>             </j:forEach>
>             <j:set var="allCausesText">${allCausesText}
>             </j:set>
>             <j:set var="paneTooltip" 
> value="${item.why}${h.escape(allCausesText)}${h.escape(item.params)}" />
>     <!-- END MOD info causes -->
>             <td class="pane" width="100%" tooltip="${paneTooltip}" 
> style="white-space: normal;">
>               <j:set var="stuck" value="${item.isStuck()}"/>
>               <j:choose>
>                 <j:when test="${h.hasPermission(item.task,item.task.READ)}">
>                   <a 
> href="${rootURL}/${item.task.url}">${item.task.fullDisplayName}</a>
>     <!-- MOD manual build -->
>                     <j:if test="${userCause}">
>                         &#160;
>                         <img src="${imagesURL}/16x16/person.gif" />
>                     </j:if>
>     <!-- END MOD manual build -->
>                   <j:if test="${stuck}">
>                     &#160;
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to