You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/pipelines/triggers.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,8 @@ max-width="70%"
102
102
Then click the toggle switch on each trigger that you want to enable/disable. You can later enable the same trigger again
103
103
by clicking the same switch.
104
104
105
+
>For Git triggers, you can also skip triggering the pipeline without disabling the trigger by adding a predefined string to the commit message. See[Skip triggering pipeline on commit]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/#skip-triggering-pipeline-on-commit).
Copy file name to clipboardExpand all lines: _docs/pipelines/triggers/git-triggers.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,14 +48,23 @@ The Git trigger is comprised of the following settings:
48
48
**Trigger Name* - a freetext trigger name (required).
49
49
**Description* - a freetext description (optional).
50
50
**Repository* - you can select any repository even something different than the one that is used for the code checkout.
51
-
**Commit Checkbox* - if enabled will trigger this pipeline for any commit.
52
-
**PR Checkboxes* - various checkboxes for filtering the Pull request event.
51
+
**Trigger by* - Options for commits and PRs.
52
+
The*Push Commit* option, enabled by default, means that this pipeline will run for*any* commit as long as its source branch matches the naming scheme. This includes commits on pull requests.
53
+
The*PR* options mean that this pipeline will run only on the respective events that happen on a Pull Request. You can select multiple options to further fine-tune the exact event. If you are interested in all events, select*Any Pull Request event*.
53
54
54
-
The commit checkbox (by default it is enabled) means that this pipeline will runfor*any* commit as long as its source branch matches the naming scheme. This includes commits on pull requests.
55
+
>The individual Pull request checkboxes are available onlyforGitHub repositories.
55
56
56
-
The PR checkboxes mean that this pipeline will run only on the respective events that happen on a Pull Request. You can select multiple checkboxes to further fine-tune the exact event. If you are interested in all events, select the checkbox*Any Pull Request event*.
57
+
##Skip triggering pipeline on commit
58
+
The default behavior triggers the pipeline on a commit action.
59
+
Override the default behavior by adding any one of the predefined strings anywhere in the commit message.
57
60
58
-
>The individual Pull request checkboxes are available only for GitHub repositories.
61
+
>Remember to include the opening and closing parentheses when adding the strings.