Skip to content
Permalink
Browse files

[FIXED JENKINS-26900] AsynchronousExecution.displayCell

  • Loading branch information
jglick committed Mar 24, 2015
1 parent 8589b21 commit bb80340a92538cdc783a55a28d42bcacd46673f4
@@ -74,6 +74,12 @@ protected AsynchronousExecution() {}
*/
public abstract boolean blocksRestart();

/**
* Allows an executable to control whether or not to display {@code executorCell.jelly}.
* @return traditionally always true
*/
public abstract boolean displayCell();

/**
* Obtains the associated executor.
*/
@@ -39,8 +39,9 @@ THE SOFTWARE.
<j:if test="${!c.acceptingTasks}"> <st:nbsp/> (${%suspended})</j:if>
</d:tag>
<d:tag name="executor">
<j:set var="ae" value="${e.asynchronousExecution}"/>
<j:choose>
<j:when test="${!c.offline or (c.offline and !e.idle)}">
<j:when test="${(!c.offline or (c.offline and !e.idle)) and (ae == null || ae.displayCell())}">
<tr>
<td class="pane" align="right" style="vertical-align: top">
${name}

0 comments on commit bb80340

Please sign in to comment.
You can’t perform that action at this time.