Changes for page Jenkins Shared Library

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

From version 4.2
edited by Boris Folgmann
on 2025/11/03 08:42
Change comment: There is no comment for this version
To version 6.2
edited by Boris Folgmann
on 2025/11/03 09:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -128,6 +128,8 @@
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.
131 131  |= |goBuildCommand|(((
132 132  'go build -o app cmd/server/main.go'
133 133  )))|go build run. Should be overridden for your project.
... ... @@ -449,7 +449,16 @@
449 449  |sonarQualityGate| |Sets the desired quality gate to use for the scan result in SonarQube.
450 450  If not specified, the quality gate is not changed.
451 451  As a default, SonarQube will use the quality gate "Sonar way" for new scan results.
452 -|=(% colspan="1" %)Dependency T| | |
454 +|=(% colspan="1" rowspan="2" %)Dependency Track|depTrackCredentialsId|'PROJECTKEY-deptrack-projectcreator'|(((
455 +Id of the Jenkins Credential which has to be used to authenticate to Dependency Track for publishing the SBOM.
456 +)))
457 +|depTrackClassifier|'application'|The component type (e.g. application, library, firmware, ...) that should be set in the SBOM file.
458 +Will be later shown as classifier for the project in Dependency Track.
459 +See [[CycloneDX Metadata Component Type>>https://cyclonedx.org/docs/1.6/json/#metadata_component_type]] for supported values.
460 +|=(% 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.
461 +Possible values are: "None", "Unknown", "Negligible", "Low", "Medium", "High", "Critical".
462 +|trivyBuildResult|'SUCCESS'|String which sets the overall build result when the result of the Trivy scan reaches trivyServerity.
463 +Possible values are: "SUCCESS", "UNSTABLE" or "FAILURE"
453 453  |=(% rowspan="7" %)(((
454 454  Deployment
455 455  )))|(((