Skip to content

Releases: cloudogu/ces-build-lib

bugfix: case sensitive header lookup PR creation

13 Apr 08:57
615b281
Compare
Choose a tag to compare

Fixes a bug where the creation of a PR failed due to the case sensitiveness lookup of header names

Configurable production branch support

06 Apr 14:35
ad0131e
Compare
Choose a tag to compare

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

25 Feb 09:17
01970ee
Compare
Choose a tag to compare
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

08 Feb 16:31
Compare
Choose a tag to compare

Adds

  • SCMManager for handling of Pull Requests (#50) and
  • findVulnerabilitiesWithTrivy() for scanning Images with Trivy (#52, #53)

Upgrades

  • Maven and Maven Wrapper and sets output to verbose (#51)

Extensions to Git and Docker

27 Aug 08:09
0da10b8
Compare
Choose a tag to compare

Adds

  • Git.areChangesStagedForCommit() and
  • Docker.Image.repoDigests()

Fixes

  • Exception when using Docker.Image.push() and tag(): 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

10 Jul 13:14
Compare
Choose a tag to compare
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

10 Jul 10:43
Compare
Choose a tag to compare
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()

26 Jun 08:54
1.44.0
85f4c02
Compare
Choose a tag to compare

GitFlow, Changelog, GitHub releases, more Git functionality

02 Jun 16:23
bd89490
Compare
Choose a tag to compare
1.43.0

Merge pull request #32 from cloudogu/feature/30_release_process_funct…

Git.pushAndPullOnFailure() and Retry on all error codes

29 May 15:15
89f0532
Compare
Choose a tag to compare

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.