Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2dca258

Browse files
committed
Update trigger topic
Moved skip trigger to trigger topic
1 parentb2e8b7c commit2dca258

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

‎_docs/configure-ci-cd-pipeline/triggers.md‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ toc: true
99
---
1010

1111

12-
To create an effective CI/CD process, it should be possible to triggeraCodefreshpipeline execution not only on code repository events (like`push` or`PR`), but also on any "interesting" CD-related event, coming from some external system.
12+
To create an effective CI/CD process, it should be possible to trigger Codefreshpipelines not only on code repository events (like`push` or`PR`), but also on any "interesting" CD-related event, coming from some external system.
1313

14-
Codefresh not only allows you to define different pipelines on a single project butitalso offers you the capability to trigger them with completely separate mechanisms.
14+
Codefresh not only allows you to define different pipelines on a single project but also offers you the capability to trigger them with completely separate mechanisms. You can even skip triggering a pipeline by including predefined flags in the commit message.
1515

1616

1717
##Codefresh Trigger Types
@@ -95,6 +95,8 @@ For more information see:
9595
You can easily disable a trigger manually if you don't want to be active anymore.
9696
On the triggers tab click the gear icon on the top right (*Open advanced options*).
9797

98+
>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(#skip-triggering-pipeline-on-commit).
99+
98100
{% include image.html
99101
lightbox="true"
100102
file="/images/pipeline/triggers/enable-triggers.png"
@@ -108,6 +110,19 @@ max-width="70%"
108110
Then click the toggle switch on each trigger that you want to enable/disable. You can later enable the same trigger again
109111
by clicking the same switch.
110112

113+
##Skip triggering pipeline on commit
114+
The default behavior triggers the pipeline on a commit action.
115+
Override the default behavior by adding any one of the predefined strings anywhere in the commit message.
116+
117+
>Remember to include the opening and closing parentheses when adding the strings.
118+
119+
*`[skip ci]`
120+
*`[ci skip]`
121+
*`[no ci]`
122+
*`[skip codefresh]`
123+
*`[codefresh skip]`
124+
125+
111126
##What to read next
112127

113128
*[Creating pipelines]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/)

‎_docs/configure-ci-cd-pipeline/triggers/git-triggers.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The Git Trigger is comprised of the following settings:
4646
**Trigger Name* - a freetext trigger name (required).
4747
**Description* - a freetext description (optional).
4848
**Repository* - you can select any repository even something different than the one that is used for the code checkout.
49-
**Commit Checkbox* - if enabled will trigger this pipeline for any commit.
49+
**Commit Checkbox* - if enabled will trigger this pipeline for any commit, unless the commit message includes any one of the predefined flags in the commit message.
5050
**PR Checkboxes* - various checkboxes for filtering the Pull request event.
5151

5252
The commit checkbox (by default it is enabled) 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.
@@ -55,6 +55,8 @@ The PR checkboxes mean that this pipeline will run only on the respective events
5555

5656
>The individual Pull request checkboxes are available only for GitHub repositories.
5757
58+
59+
5860
##Configure Filter Settings
5961

6062
{% include image.html

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp