Changes for page Jenkins Shared Library
Last modified by Boris Folgmann on 2025/11/03 09:41
From version 6.6
edited by Boris Folgmann
on 2025/11/03 09:09
on 2025/11/03 09:09
Change comment:
There is no comment for this version
To version 3.4
edited by Achim Mahnke
on 2025/10/27 12:56
on 2025/10/27 12:56
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. borisfolgmannt-systemscom1 +xwiki:XWiki.achimmahnket-systemscom - Content
-
... ... @@ -128,12 +128,9 @@ 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 -)))|go build run. Should be overridden for your project. 136 -|= |goTestCommand|'gotestsum ~-~-format pkgname ~-~-junitfile report.xml ~-~- -failfast -race -coverprofile=coverage.out -tags=test ./...'|Runs gotestsum tool which in turn calls 'go test' for all packages in the project. Should be overridden for your project. The gotestsum tool is available out-of-the-box and produces a report file which is picked up by Jenkins automatically. 133 +)))|go build step. Must be over 137 137 |=(% rowspan="10" %)((( 138 138 Docker build 139 139 )))|((( ... ... @@ -312,11 +312,9 @@ 312 312 |((( 313 313 helmRegistry 314 314 )))|((( 315 - Helmregistry of your DOaaS instance, which is usally 'https:~/~/registry-CUSTOMER.devops.t-systems.net/chartrepo/PROJECTKEY'312 +Nexus registry of your DOaaS instance 316 316 )))|((( 317 -Helm registry to which the packaged Helm chart is uploaded. 318 - 319 - 314 +Name of registry to which the packaged Helm chart is uploaded. 320 320 ))) 321 321 |((( 322 322 helmRegistryCredentialsId ... ... @@ -355,10 +355,9 @@ 355 355 )))|((( 356 356 Id of the Jenkins Credentials for signers private keyfile. 357 357 ))) 358 -|=(% colspan="1" rowspan="1 4" %)(((353 +|=(% colspan="1" rowspan="12" %)((( 359 359 Static Source Code Analysis 360 -))) 361 -Dependency Check|((( 355 +)))|((( 362 362 checkstyleConfig 363 363 )))|((( 364 364 best-practice releaxed configuration ... ... @@ -389,13 +389,10 @@ 389 389 )))|((( 390 390 Defines which named dependency-check tool should be used. 391 391 ))) 392 -|dependencyCheckMvnArgs|'-DassemblyAnalyzerEnabled=false'|Additional arguments which are be passed to dependency-check for maven projects.((( 393 -See [[Dependency Check Maven Configuration>>https://jeremylong.github.io/DependencyCheck/dependency-check-maven/configuration.html]] for more information. 394 -))) 395 395 |((( 396 396 dependencyCheckArgs 397 397 )))|((( 398 -'~-~-disableAssembly' 389 +'~-~-disableAssembly ~-~-nvdValidForHours 720' 399 399 )))|((( 400 400 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. 401 401 ))) ... ... @@ -457,17 +457,6 @@ 457 457 |sonarQualityGate| |Sets the desired quality gate to use for the scan result in SonarQube. 458 458 If not specified, the quality gate is not changed. 459 459 As a default, SonarQube will use the quality gate "Sonar way" for new scan results. 460 -| | | 461 -|=(% colspan="1" rowspan="2" %)Dependency Track|depTrackCredentialsId|'PROJECTKEY-deptrack-projectcreator'|((( 462 -Id of the Jenkins Credential which has to be used to authenticate to Dependency Track for publishing the SBOM. 463 -))) 464 -|depTrackClassifier|'application'|The component type (e.g. application, library, firmware, ...) that should be set in the SBOM file. 465 -Will be later shown as classifier for the project in Dependency Track. 466 -See [[CycloneDX Metadata Component Type>>https://cyclonedx.org/docs/1.6/json/#metadata_component_type]] for supported values. 467 -|=(% 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. 468 -Possible values are: "None", "Unknown", "Negligible", "Low", "Medium", "High", "Critical". 469 -|trivyBuildResult|'SUCCESS'|String which sets the overall build result when the result of the Trivy scan reaches trivyServerity. 470 -Possible values are: "SUCCESS", "UNSTABLE" or "FAILURE" 471 471 |=(% rowspan="7" %)((( 472 472 Deployment 473 473 )))|(((