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
4a2a9591
Commit
4a2a9591
authored
Feb 12, 2019
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small grammar fix
parent
71597f9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/ci/merge_request_pipelines/index.md
doc/ci/merge_request_pipelines/index.md
+2
-2
No files found.
doc/ci/merge_request_pipelines/index.md
View file @
4a2a9591
...
@@ -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.
However, you may w
ha
t to reverse this behaviour, having all of your jobs to run _except_
However, you may w
an
t 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:
...
@@ -77,7 +77,7 @@ A:
...
@@ -77,7 +77,7 @@ A:
<<
:
*only-default
<<
:
*only-default
script
:
script
:
-
...
-
...
B
:
B
:
<<
:
*only-default
<<
:
*only-default
script
:
script
:
...
...
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