{% macro auth() %}
Your username:
Your password:
{% endmacro %} {% macro cancel_pending_build(cancel_url, authz, short=False, id='all') %} {% if not short or not authz.needAuthForm('cancelPendingBuild') %}
{% if not short %} {% if on_all %}

To cancel all builds, fill out the following fields and push the 'Cancel' button

{% else %}

To cancel this build, fill out the following fields and push the 'Cancel' button

{% endif %} {% endif %} {% if authz.needAuthForm('cancelPendingBuild') %} {{ auth() }} {% elif not short %}

To cancel individual builds, click the 'Cancel' buttons above.

{% endif %}
{% endif %} {% endmacro %} {% macro stop_build(stop_url, authz, on_all=False, short=False, label="Build") %} {% if not short or not authz.needAuthForm('stopBuild') %}
{% if not short %} {% if on_all %}

To stop all builds, fill out the following fields and push the Stop {{label}} button

{% else %}

To stop this build, fill out the following fields and push the Stop {{label}} button

{% endif %} {% endif %} {% if authz.needAuthForm('stopBuild') %} {{ auth() }} {% endif %} {% if not short %}
Reason:
{% endif %}
{% endif %} {% endmacro %} {% macro force_build(force_url, authz, on_all=False) %}
{% if on_all %}

To force a build on all Builders, fill out the following fields and push the 'Force Build' button

{% else %}

To force a build, fill out the following fields and push the 'Force Build' button

{% endif %} {% if authz.needAuthForm('forceBuild') %} {{ auth() }} {% else %}
Your name:
{% endif %}
Reason for build:
Branch to build:
Revision to build:
{% for i in range(1,4) %}
Property {{ i }} Name: Value:
{% endfor %}
{% endmacro %} {% macro graceful_shutdown(shutdown_url, authz) %}

To cause this slave to shut down gracefully when it is idle, push the 'Graceful Shutdown' button

{% if authz.needAuthForm('gracefulShutdown') %} {{ auth() }} {% endif %}
{% endmacro %} {% macro ping_builder(ping_url, authz) %}

To ping the buildslave(s), push the 'Ping' button

{% if authz.needAuthForm('gracefulShutdown') %} {{ auth() }} {% endif %}
{% endmacro %} {% macro rebuild_build(rebuild_url, authz, exactly, ss) %}
{% if exactly %}

This tree was built from a specific set of source files, and can be rebuilt exactly

{% else %}

This tree was built from the most recent revision {% if ss.branch %} (along branch {{ ss.branch }}) {% endif %} and thus it might not be possible to rebuild it exactly.
Any changes that have been committed after this build was started will be included in a rebuild.

{% endif %} {% if on_all %}

To force a build on all Builders, fill out the following fields and push the 'Force Build' button

{% else %}

To force a build, fill out the following fields and push the 'Force Build' button

{% endif %} {% if authz.needAuthForm('forceBuild') %} {{ auth() }} {% endif %}
Reason for re-running build:
{% endmacro %}