Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c7f0a4093d2cdb60a9a16b431f677ed3fde46013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!-- **************************************************************************
#
# Copyright  (c) 2004-2009 Oracle Corporation.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors: 
#
#    Kohsuke Kawaguchi
#        
#
#************************************************************************** --> 


<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">
  <l:layout title="${it.name}">
    <l:header />
    <l:side-panel>
      <l:tasks>
        <l:task icon="images/24x24/up.gif" href="../.." title="${%Back}" />
      </l:tasks>
    </l:side-panel>
    <l:main-panel>
      <j:choose>
        <j:when test="${it.alive}">
          <h1>
            <img src="${imagesURL}/48x48/blue.gif" width="48" height="48" alt=""/>
            ${%Thread is still alive}
          </h1>
        </j:when>
        <j:otherwise>
          <h1>
            <img src="${imagesURL}/48x48/red.gif" width="48" height="48" alt=""/>            
            ${%Thread has died}
          </h1>
          <pre>${h.printThrowable(it.causeOfDeath)}</pre>
          <pre>
            <a href="http://wiki.hudson-ci.org/display/HUDSON/Dead+Executor">${%more info}</a>
          </pre>
          <form method="post" action="yank" name="yank">
            <f:submit value="${%Restart this thread}"/>
          </form>
        </j:otherwise>
      </j:choose>
    </l:main-panel>
  </l:layout>
</j:jelly>

Back to the top