Merge branch '59979-update-documentation-about-only-allow-merge-requests-to-be-merged-if-the-pipeline-succeeds-to-take-into-account-the-settings-page-reorganization' into 'master'
Update "Pipelines must succeed" documentation Closes #59979 See merge request gitlab-org/gitlab-ce!26945
This commit is contained in:
commit
1be7f5aaa3
2 changed files with 4 additions and 4 deletions
Binary file not shown.
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 20 KiB |
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue