Changes for page Jenkins Shared Library
Last modified by Boris Folgmann on 2025/07/09 16:16
From version 2.1
edited by Boris Folgmann
on 2025/04/29 12:01
on 2025/04/29 12:01
Change comment:
Added sonarQualityGate
To version 3.1
edited by Boris Folgmann
on 2025/07/09 16:16
on 2025/07/09 16:16
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -346,7 +346,7 @@ 346 346 )))|((( 347 347 Id of the Jenkins Credentials for signers private keyfile. 348 348 ))) 349 -|=(% rowspan="1 1" %)(((349 +|=(% colspan="1" rowspan="12" %)((( 350 350 Static Source Code Analysis 351 351 )))|((( 352 352 checkstyleConfig ... ... @@ -396,15 +396,13 @@ 396 396 |((( 397 397 sonarQube 398 398 )))|((( 399 -true for the defaultBranch 399 +true for the defaultBranch and for pull-requests, if a SonarQube version is detected which supports scanning multiple branches 400 400 401 -false for all other branches and pull-requests401 +false for all other branches 402 402 )))|((( 403 - Booleanwhichdeterminesif SonarQube shouldbe usedifaninstallationis found.403 +Set this to true to force a SonarQube scan for the current branch. Usually this makes only sense if you explicitly want to scan feature and bugfix branches. 404 404 405 -The default is the best choice for the free community edition of SonarQube, which supports just one branch. 406 - 407 -If you have the Developer or Enterprise edition consider setting sonarQube to true to cover all branches. For more information see [[SonarQube>>SonarQube.WebHome]]. 405 +If not set or set to false, the default branch will be scanned automatically as well as pull-requests, if a SonarQube version is detected which supports scanning multiple branches. This is currently the case for SonarQube Developer and Enterprise editions. The free SonarQube Community edition supports just one branch. 408 408 ))) 409 409 |((( 410 410 sonarScanMavenOpts ... ... @@ -443,7 +443,7 @@ 443 443 {{/code}} 444 444 ))) 445 445 ))) 446 -| = |sonarQualityGate| |Sets the desired quality gate to use for the scan result in SonarQube.444 +|sonarQualityGate| |Sets the desired quality gate to use for the scan result in SonarQube. 447 447 If not specified, the quality gate is not changed. 448 448 As a default, SonarQube will use the quality gate "Sonar way" for new scan results. 449 449 |=(% rowspan="7" %)(((