Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
98569488
Commit
98569488
authored
Feb 08, 2019
by
Jason Lenny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply suggestion to doc/ci/merge_request_pipelines/index.md
parent
42c9e397
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/ci/merge_request_pipelines/index.md
doc/ci/merge_request_pipelines/index.md
+1
-1
No files found.
doc/ci/merge_request_pipelines/index.md
View file @
98569488
...
@@ -61,7 +61,7 @@ The same tag is shown on the pipeline's details:
...
@@ -61,7 +61,7 @@ The same tag is shown on the pipeline's details:
The behavior of the
`only: merge_requests`
rule is such that _only_ jobs with
The behavior of the
`only: merge_requests`
rule is such that _only_ jobs with
that rule are run in the context of a merge request; no other jobs will be run.
that rule are run in the context of a merge request; no other jobs will be run.
This behavior may not be intuitive when you want
all of your jobs to run _except_
However, you may what to reverse this behaviour, having
all of your jobs to run _except_
for one or two. Consider the following pipeline, with jobs A B and C. If you want
for one or two. Consider the following pipeline, with jobs A B and C. If you want
all pipelines to always run
`A`
and
`B`
, but only want
`C`
to run for a merge request,
all pipelines to always run
`A`
and
`B`
, but only want
`C`
to run for a merge request,
you can configure your
`.gitlab-ci.yml`
file as follows:
you can configure your
`.gitlab-ci.yml`
file as follows:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment