Changes for page Jenkins Shared Library

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

From version 3.4
edited by Achim Mahnke
on 2025/10/27 12:56
Change comment: There is no comment for this version
To version 4.2
edited by Boris Folgmann
on 2025/11/03 08:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.achimmahnket-systemscom
1 +xwiki:XWiki.borisfolgmannt-systemscom
Content
... ... @@ -130,7 +130,8 @@
130 130  )))
131 131  |= |goBuildCommand|(((
132 132  'go build -o app cmd/server/main.go'
133 -)))|go build step. Must be over
133 +)))|go build run. Should be overridden for your project.
134 +|= |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.
134 134  |=(% rowspan="10" %)(((
135 135  Docker build
136 136  )))|(((
... ... @@ -448,6 +448,7 @@
448 448  |sonarQualityGate| |Sets the desired quality gate to use for the scan result in SonarQube.
449 449  If not specified, the quality gate is not changed.
450 450  As a default, SonarQube will use the quality gate "Sonar way" for new scan results.
452 +|=(% colspan="1" %)Dependency T| | |
451 451  |=(% rowspan="7" %)(((
452 452  Deployment
453 453  )))|(((