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
Change comment: Added sonarQualityGate
To version 2.3
edited by Boris Folgmann
on 2025/07/09 16:13
Change comment: There is no comment for this version

Summary

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="11" %)(((
349 +|=(% colspan="1" rowspan="12" %)(((
350 350  Static Source Code Analysis
351 351  )))|(((
352 352  checkstyleConfig
... ... @@ -405,6 +405,8 @@
405 405  The default is the best choice for the free community edition of SonarQube, which supports just one branch.
406 406  
407 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]].
408 +
409 +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. 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.
448 +|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" %)(((