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.4
edited by Boris Folgmann
on 2025/07/09 16:15
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
... ... @@ -396,15 +396,11 @@
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-requests
401 +false for all other branches
402 402  )))|(((
403 -Boolean which determines if SonarQube should be used if an installation is found.
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]].
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. 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.
442 +|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" %)(((