Releases: cloudogu/ces-build-lib
Releases · cloudogu/ces-build-lib
bugfix: case sensitive header lookup PR creation
Fixes a bug where the creation of a PR failed due to the case sensitiveness lookup of header names
Configurable production branch support
Adds
- the optional parameter
productionBranch
to configure the production branch that should be used by git flow (#56). The parameter is accepted by the following methods:- github.createRelease
- github.createReleaseWithChangelog
- gitflow.finishRelease
Minor bug fix
Merge pull request #54 from cloudogu/bugfix/location_for_prId Bugfix/location for pr
Adds vulnerability scans with Trivy and Pull Request handling for SCM-Manager
Extensions to Git and Docker
Adds
Git.areChangesStagedForCommit()
andDocker.Image.repoDigests()
Fixes
- Exception when using
Docker.Image.push()
andtag()
:Scripts not permitted to use field
org.jenkinsci.plugins.docker.workflow.ImageNameTokens tag
- SonarQube: "Malformed key for Project" when not using branch plugin. " because this broke the built.
Remove env var DOCKER_HOST for Docker.mountDockerSocket
Remove env var DOCKER_HOST for Docker.mountDockerSocket. Checking /var/run/docker.sock is the default anyway. The env var causes an issue with spring boot maven plugin when running maven inside a container: https://github.com/spring-projects/spring-boot/issues/22300 Unfortunately, unsetting the var with "withEnv(['DOCKER_HOST='])" does not work, but setting an env var would work. So we remove the env var here, if anyone should need it (even though it's the default behavior!) it can just be set using "withEnv(['DOCKER_HOST=unix:///var/run/docker.sock'])".
Fix Maven.evaluateExpression() not using repo credentials
Fix Maven.evaluateExpression() not using repo credentials. Failed e.g. when querying something from a POM using a parent or dependency from a private repo.
Improve Docker.installDockerClient()
1.44.0 1.44.0
GitFlow, Changelog, GitHub releases, more Git functionality
1.43.0 Merge pull request #32 from cloudogu/feature/30_release_process_funct…
Git.pushAndPullOnFailure() and Retry on all error codes
Note: This version accidentally breaks backward compatibility with git.push()
.
This will be fixed in the next version.
It affects all calls to git.push
that don't add a remote but add multiple arguments, e.g.
git.push ('master develop')
with the legacy behavior of git.push
this would result in git push origin master develop
, but with this version this results in git push master develop
which is likely to fail.
See also #44.