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.1
edited by Achim Mahnke
on 2025/10/27 12:59
Change comment: There is no comment for this version

Summary

Details

Page properties
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  )))|(((