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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d5474810
Commit
d5474810
authored
Apr 04, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
52a87e27
6c75bd01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/user/project/merge_requests/img/merge_when_pipeline_succeeds_only_if_succeeds_settings.png
...erge_when_pipeline_succeeds_only_if_succeeds_settings.png
+0
-0
doc/user/project/merge_requests/merge_when_pipeline_succeeds.md
...er/project/merge_requests/merge_when_pipeline_succeeds.md
+4
-4
No files found.
doc/user/project/merge_requests/img/merge_when_pipeline_succeeds_only_if_succeeds_settings.png
View replaced file @
52a87e27
View file @
d5474810
6.34 KB
|
W:
|
H:
19.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/user/project/merge_requests/merge_when_pipeline_succeeds.md
View file @
d5474810
...
...
@@ -35,11 +35,11 @@ You need to have jobs configured to enable this feature.
You can prevent merge requests from being merged if their pipeline did not succeed
or if there are discussions to be resolved.
Navigate to your project's settings page
, select the
**Only allow merge requests to be merged if the pipeline succeeds**
check box and
hit
**Save**
for the changes to take effect.
Navigate to your project's settings page
and expand the
**Merge requests**
section.
In the
**Merge checks**
subsection, select the
**Pipelines must succeed**
check
box and
hit
**Save**
for the changes to take effect.
![
Only allow merge if pipeline succeeds
settings
](
img/merge_when_pipeline_succeeds_only_if_succeeds_settings.png
)
!
[
Pipelines must succeed
settings
](
img/merge_when_pipeline_succeeds_only_if_succeeds_settings.png
)
From now on, every time the pipeline fails you will not be able to merge the
merge request from the UI, until you make all relevant jobs pass.
...
...
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