Skip to content

Commit

Permalink
Allow forcing a build if no slaves are connected.
Browse files Browse the repository at this point in the history
Fixes: #797
  • Loading branch information
Chris AtLee committed Aug 18, 2010
1 parent a7fdbf8 commit 024dcd8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions master/buildbot/status/web/templates/builder.html
Expand Up @@ -98,12 +98,7 @@ <h2>Ping slaves</h2>

{% if authz.advertiseAction('forceBuild') %}
<h2>Force build</h2>
{% if connected_slaves %}
{{ forms.force_build(builder_url+"/force", authz, False) }}
{% else %}
<p>All buildslaves appear to be offline, so it's not possible
to force this build to execute at this time.</p>
{% endif %}
{{ forms.force_build(builder_url+"/force", authz, False) }}
{% endif %}

</div>
Expand Down

0 comments on commit 024dcd8

Please sign in to comment.