{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Create Watch - {{ project.name }} - Pychestrate{% endblock %} {% block content %}
{{ ui.field_error(errors, 'name') }}

When

{{ ui.field_error(errors, 'event_type') }}

Repository changes are found when someone fetches the repository (Fetch on its page).

{{ ui.field_error(errors, 'repository_id') }}

For new commits, new branches and new tags.

For "A build finishes": the specification whose builds start this watch.

{{ ui.field_error(errors, 'branch_pattern') }} Regular expression matched from the start of the branch name (for commits, new branches, and the branch a finished build built). Leave empty to match every branch.
{{ ui.field_error(errors, 'tag_pattern') }} For new tags: regular expression matched from the start of the tag name. Leave empty to match every tag.
{{ ui.field_error(errors, 'build_status') }}

For "A build finishes".

Then

{{ ui.field_error(errors, 'action_type') }}

For "Run a build". When a commit, branch or tag starts the watch and this specification builds the same repository, the build uses that branch and commit.

{{ ui.field_error(errors, 'action_target_id') }}

For starting a release pipeline, or running an infrastructure or test job: the id of the thing to run. Takes precedence over the build specification when set.

Cancel
{% endblock %}