Skip to content

Commit 1f4d806

Browse files
committed
Changes made in the doc according to the newer version
1 parent 1c07f45 commit 1f4d806

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/user-guide/plugins/sonarqube.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SonarQube
1+
# Sonarqube v1.1.0
22

33
Configuring `Sonarqube` in pre-build or post build task enhances your workflow with Continuous Code Quality & Code Security.
44

@@ -8,21 +8,24 @@ Configuring `Sonarqube` in pre-build or post build task enhances your workflow w
88
2. Click **+ Add task**.
99
3. Select **Sonarqube** from **PRESET PLUGINS**.
1010

11-
![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/plugins/sonarqube.jpg)
11+
![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/plugins/sonarqube-v1.1.0.jpeg)
1212

1313
* Enter a relevant name in the `Task name` field. It is a mandatory field.
1414
* Enter a descriptive message for the task in the `Description` field. It is an optional field.
1515
* Provide a value for the input variable.<br> Note: The value may be any of the values from the previous build stages, a global variable, or a custom value.</br>
1616

1717
| Variable | Format | Description |
1818
| ---- | ---- | ---- |
19+
| SonarqubeProjectPrefixName | String | This is the SonarQube project prefix name. If not provided, the prefix name is automatically generated. |
20+
| SonarqubeBranchName | String | Branch name to be used to send the scanned result on sonarqube project. |
1921
| SonarqubeProjectKey | String | Project key of SonarQube account |
22+
| CheckForSonarAnalysisReport | Bool | Boolean value - true or false. Set true to poll for generated report from sonarqube. |
23+
| AbortPipelineOnPolicyCheckFailed | Bool | Boolean value - true or false. Set true to abort on report check failed. |
24+
| UsePropertiesFileFromProject | Bool | Boolean value - true or false. Set true to use source code sonar-properties file. |
25+
| SonarqubeEndpoint | String | API endpoint of SonarQube account. |
26+
| CheckoutPath | String | Checkout path of Git material. |
2027
| SonarqubeApiKey | String | API key of SonarQube account |
21-
| SonarqubeEndpoint | String | API endpoint of SonarQube account |
22-
| CheckoutPath | String | Checkout path of Git material |
23-
| UsePropertiesFileFromProject | Boolean | Enter either `true` or `false` accordingly whether the configuration file should be fetched from the project's source code |
24-
| CheckForSonarAnalysisReport | Boolean | Enter either `true` or `false` accordingly whether you want poll or actively check for the generation of the SonarQube analysis report |
25-
| AbortPipelineOnPolicyCheckFailed | Boolean | Enter either `true` or `false` accordingly whether you want to check if the policy fails or not |
28+
| SonarContainerImage | String | Container Image that will be used for sonar scanning purpose. |
2629

2730
* `Trigger/Skip Condition` refers to a conditional statement to execute or skip the task. You can select either:<ul><li>`Set trigger conditions` or</li><li>`Set skip conditions`</li></ul>
2831

0 commit comments

Comments
 (0)