Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 5ab904b

Browse files
committed
working!
1 parent ea7ef05 commit 5ab904b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Instructions/Labs/AZ400_M07_L17_Managing_technical_debt_with_SonarQube_and_Azure_DevOps.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ In this task, you will generate an Azure DevOps personal access token that will
9494
| Name | **Managing technical debt with SonarCloud and Azure DevOps lab** |
9595
| Scopes | **Custom defined** |
9696
| Scope | **Code** |
97-
| Permissions | **Read & write** |
97+
| Permissions | **Full** |
9898

9999
1. On the **Success** pane, copy the value of the personal access token to Clipboard.
100100

@@ -281,10 +281,12 @@ In this task, you will validate pull request integration between Azure DevOps an
281281
![Commit PR](images/sonar-pr-commit.png)
282282

283283
1. On the **New pull request** pane, select **Create**.
284-
1. On the **Overview** tab of the **Updated Program.cs** pane, monitor the progress of the build process to its completion.
285-
1. The pipeline will be successful but if you review the most recent Sonarcloud report, you will see the quality gate for the Pull Request has failed. We will add a blocker to do not allow merging PRs that do not meet the quality gate condition.
284+
1. On the **Overview** tab of the **Updated Program.cs** pane, monitor the progress of the build process to its completion.
285+
1. The pipeline will be successful, but 1 optional check will fail.
286+
1. Sonarcloud will also decorate your PR with comments for your recent not recommended practises. You can also review the full report in Sonarcloud for details.
286287

287288
![PR quality gate failed](images/pr-qg-failed.png)
289+
![Sonarcloud decorator](images/sonar-decorator.png)
288290

289291

290292

@@ -302,7 +304,7 @@ In this task, you will configure blocking of pull requests in response to failin
302304
1. On the **main** pane, scroll down to the **Status Checks** section and click **+**.
303305
1. On the **Add status policy** pane, in the **Status to check** dropdown list, select the **SonarCloud/quality gate** entry, ensure that the **Policy requirement** option is set to **Required**, and click **Save**
304306

305-
> **Note**: At this point, users will not be able to merge pull request until the Code Quality check is successful. This, in turn, requires that all issues identified by SonarCloud have been either fixed or marked as **confirmed** or **resolved** in the corresponding SonarCloud project.
307+
> **Note**: At this point, users **will not be able to merge pull request until the Code Quality check is successful**. This, in turn, requires that all issues identified by SonarCloud have been either fixed or marked as **confirmed** or **resolved** in the corresponding SonarCloud project.
306308

307309
## Review
308310

257 KB
Loading

0 commit comments

Comments
 (0)