Changes for page Jenkins Shared Library

Last modified by Boris Folgmann on 2025/11/03 09:41

From version 6.9
edited by Boris Folgmann
on 2025/11/03 09:13
Change comment: There is no comment for this version
To version 4.1
edited by Achim Mahnke
on 2025/10/27 12:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.borisfolgmannt-systemscom
1 +xwiki:XWiki.achimmahnket-systemscom
Content
... ... @@ -128,8 +128,6 @@
128 128  )))|(((
129 129  npm command to execute for building Node.JS projects.
130 130  )))
131 -|= |go|'go'|Golang version to use.
132 -Refers to a symbolic name of a go tool configuration in Jenkins.
133 133  |= |goBuildCommand|(((
134 134  'go build -o app cmd/server/main.go'
135 135  )))|go build run. Should be overridden for your project.
... ... @@ -312,11 +312,9 @@
312 312  |(((
313 313  helmRegistry
314 314  )))|(((
315 -Helm registry of your DOaaS instance, which is usally 'https:~/~/registry-CUSTOMER.devops.t-systems.net/chartrepo/PROJECTKEY'
313 +Nexus registry of your DOaaS instance
316 316  )))|(((
317 -Helm registry to which the packaged Helm chart is uploaded.
318 -
319 -
315 +Name of registry to which the packaged Helm chart is uploaded.
320 320  )))
321 321  |(((
322 322  helmRegistryCredentialsId
... ... @@ -355,7 +355,7 @@
355 355  )))|(((
356 356  Id of the Jenkins Credentials for signers private keyfile.
357 357  )))
358 -|=(% colspan="1" rowspan="13" %)(((
354 +|=(% colspan="1" rowspan="12" %)(((
359 359  Static Source Code Analysis
360 360  )))|(((
361 361  checkstyleConfig
... ... @@ -388,13 +388,10 @@
388 388  )))|(((
389 389  Defines which named dependency-check tool should be used.
390 390  )))
391 -|dependencyCheckMvnArgs|'-DassemblyAnalyzerEnabled=false'|Additional arguments which are be passed to dependency-check for maven projects.(((
392 -See [[Dependency Check Maven Configuration>>https://jeremylong.github.io/DependencyCheck/dependency-check-maven/configuration.html]] for more information.
393 -)))
394 394  |(((
395 395  dependencyCheckArgs
396 396  )))|(((
397 -'~-~-disableAssembly'
390 +'~-~-disableAssembly ~-~-nvdValidForHours 720'
398 398  )))|(((
399 399  Addtional arguments which are be passed to dependency-check. See [[Dependency>>url:https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html||shape="rect"]][[ Check CLI Arguments>>url:https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html||shape="rect"]] for more information.
400 400  )))
... ... @@ -456,21 +456,6 @@
456 456  |sonarQualityGate| |Sets the desired quality gate to use for the scan result in SonarQube.
457 457  If not specified, the quality gate is not changed.
458 458  As a default, SonarQube will use the quality gate "Sonar way" for new scan results.
459 -|=(% colspan="1" %)Dependency Check|skipDependencyCheck|false|Set to true to skip the dependency-check.
460 -|=(% colspan="1" %) |dependencyCheckTool|'dependency-check'|Defines which named dependency-check tool should be used.
461 -|=(% colspan="1" %) |dependencyCheckMvnArgs|'-DassemblyAnalyzerEnabled=false'|
462 -|=(% colspan="1" %) | | |
463 -|=(% colspan="1" %) | | |
464 -|=(% colspan="1" rowspan="2" %)Dependency Track|depTrackCredentialsId|'PROJECTKEY-deptrack-projectcreator'|(((
465 -Id of the Jenkins Credential which has to be used to authenticate to Dependency Track for publishing the SBOM.
466 -)))
467 -|depTrackClassifier|'application'|The component type (e.g. application, library, firmware, ...) that should be set in the SBOM file.
468 -Will be later shown as classifier for the project in Dependency Track.
469 -See [[CycloneDX Metadata Component Type>>https://cyclonedx.org/docs/1.6/json/#metadata_component_type]] for supported values.
470 -|=(% colspan="1" rowspan="2" %)Trivy|trivySeverity|'High'|String which sets the minimum severity of Trivy findings that has to be reached to mark the Trivy Results stage as unstable.
471 -Possible values are: "None", "Unknown", "Negligible", "Low", "Medium", "High", "Critical".
472 -|trivyBuildResult|'SUCCESS'|String which sets the overall build result when the result of the Trivy scan reaches trivyServerity.
473 -Possible values are: "SUCCESS", "UNSTABLE" or "FAILURE"
474 474  |=(% rowspan="7" %)(((
475 475  Deployment
476 476  )))|(((