Changes for page Jenkins Shared Library

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

From version 10.1
edited by Boris Folgmann
on 2025/11/03 09:35
Change comment: There is no comment for this version
To version 11.1
edited by Boris Folgmann
on 2025/11/03 09:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -39,7 +39,7 @@
39 39  11. **Docker**: this will also work for projects which are neither maven, nodejs or go. A Dockerfile is enough to trigger this part of the pipeline.
40 40  111. **Build Container Image**: If a Dockerfile is found a docker image is built.
41 41  111. **Test Container Image**: The image is started as an isolated container on the Jenkins agent. Any loglines written to stdout or stderr by the container will be displayed.A smoke test is performed which is a simple query for a valid answer on the exposed port of the container.
42 -111. **Push Container Image**: If the smoke test was successful and the build was not done for a pull request the docker image will be pushed to the docker registry.
42 +111. **Push Container Image**: If the smoke test was successful the container image will be pushed to the image registry.
43 43  For easy identification of the image 3 image tags are defined:
44 44  1111. BRANCH_NAME-BUILD_NUMBER (e.g. 'production-1014')
45 45  1111. BRANCH_NAME-GIT_HASH (e.g. 'develop-8a7c4f2')