Jenkins OSGi Technology project, Maven Release Build with Maven Release Plugin
We want to use the maven release plugin to do a release in the OSGi technology projects.
As this plugin creates a git tag it is not allowed to push to our git-repos. The build hangs for a long time:
https://ci.eclipse.org/osgi-technology/job/JakartaREST-RELEASE/13/
at:
[INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/JakartaREST-RELEASE' && 'git' 'commit' '--verbose' '-F' '/tmp/maven-scm-833978960.commit' [INFO] Working directory: /home/jenkins/agent/workspace/JakartaREST-RELEASE [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/JakartaREST-RELEASE' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /home/jenkins/agent/workspace/JakartaREST-RELEASE [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/JakartaREST-RELEASE' && 'git' 'push' 'https://github.com/osgi/jakartarest-osgi' 'refs/heads/release:refs/heads/release'
We also realized, that the build result information cannot be pushed back to GitHub, when we use the Github Publisher post-build action.
@fgurr: we talked at EclipseCon in Ludwigsburg about it