]> source.dussan.org Git - sonarqube.git/commitdiff
DOCS update according to validation
authormichaelbirnstiehl <michael.birnstiehl@sonarsource.com>
Thu, 12 Dec 2019 21:18:38 +0000 (15:18 -0600)
committerSonarTech <sonartech@sonarsource.com>
Mon, 16 Dec 2019 19:46:14 +0000 (20:46 +0100)
server/sonar-docs/src/pages/analysis/gitlab-cicd.md
server/sonar-docs/src/pages/analysis/pr-decoration.md

index ded4d42e2897b08564afaa07aa2dd2a64735462c..adb3c8c4ff8bea523519d8d6276355287642a768 100644 (file)
@@ -49,7 +49,7 @@ sonarqube-check:
   allow_failure: true
   only:
     - merge_requests
-    - branches
+    - master
 ```
  
 ### SonarScanner for Maven:
@@ -66,7 +66,7 @@ sonarqube-check:
   allow_failure: true
   only:
     - merge_requests
-    - branches
+    - master
 ```
 
 ### SonarScanner CLI:
@@ -86,7 +86,7 @@ sonarqube-check:
   allow_failure: true
   only:
     - merge_requests
-    - branches
+    - master
 ```  
 
 **Note:** A project key has to be provided through `sonar-project.properties` or through the command line parameter. For more information, see the [SonarScanner](/analysis/scan/sonarscanner/) documentation.
index fb66407a977008c75c3b79f58367192ec244f32d..e23bca9fa3efbbac1abc67235c01a88db817b633 100644 (file)
@@ -12,9 +12,9 @@ You can add SonarQube analysis and a Quality Gate to your Pull Requests (PR) in
 Click your ALM provider below to expand the instructions on decorating your Pull Requests.
 
 [[collapse]]
-| ## GitHub Enterprise  and GitHub.com
+| ## GitHub Enterprise and GitHub.com
 |
-|*For GitHub Enterprise, the minimum version is Version 2.14*
+|*For GitHub Enterprise, the minimum version is 2.14*
 |
 | ### Creating a GitHub App
 |
@@ -59,7 +59,7 @@ Click your ALM provider below to expand the instructions on decorating your Pull
 |
 | A Bitbucket Server user account is used to decorate Pull Requests. We recommend creating a dedicated Bitbucket Server account with Administrator permissions to decorate Pull Requests. You need a [Personal Access Token](https://confluence.atlassian.com/bitbucketserver0515/personal-access-tokens-961275199.html) from this account with **Write** permission for the repositories that will be analyzed.
 |
-| To add Pull Request decoration on Bitbucket Server, you need to update your global and project settings. 
+| To add Pull Request decoration on Bitbucket Server, you also need to update your global and project settings. 
 |
 | ### Setting your global settings
 |
@@ -78,7 +78,7 @@ Click your ALM provider below to expand the instructions on decorating your Pull
 |
 | An Azure DevOps Server user account is used to decorate Pull Requests. We recommend creating a dedicated Azure DevOps Server account with Administrator permissions to decorate Pull Requests. You need a [Personal Access Token](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=tfs-2017&tabs=preview-page) from this account with the scope authorized for **Code > Read & Write** for the repositories that will be analyzed.
 |
-| To add Pull Request decoration on Azure DevOps Server, you need to update your global and project settings. 
+| To add Pull Request decoration on Azure DevOps Server, you also need to update your global and project settings. 
 |
 | ### Setting your global settings
 |
@@ -93,9 +93,9 @@ Click your ALM provider below to expand the instructions on decorating your Pull
 | Go to **Administration > General Settings > Pull Request Decoration** and select your **Configuration name**.
 
 [[collapse]]
-| ## GitLab
+| ## GitLab Self-Managed and GitLab.com
 |
-|*Minimum GitLab version 11.7*
+|*For GitLab Self-Managed, the minimum version is 11.7*
 |
 | A GitLab user account is used to decorate Merge Requests. We recommend creating a dedicated GitLab account with at least **Reporter** [permissions](https://docs.gitlab.com/ee/user/permissions.html) (the account needs permission to leave comments) to decorate Merge Requests. You need a Personal Access Token from this account with the scope authorized for **api** for the repositories that will be analyzed.
 |