I've found if I use jgit instead of a system installed git, the webhook is
working as expected
We did see a different issue where git publisher failed when trying to push
tags during post-build:
The recommended git tool is: NONE
using credential xxx
Pushing tag v25.34 to repo origin
RefSpec is "refs/tags/v25.34:refs/heads/v25.34".
Opening connection
Counting objects
Finding sources
Writing objects
ERROR: Failed to push tag v25.34 to origin
hudson.plugins.git.GitException: failed REJECTED_OTHER_REASON for
'refs/tags/v25.34:refs/heads/v25.34' refspec 'v25.34' to
git@xxx:team/app.git
at
org.jenkinsci.plugins.gitclient.JGitAPIImpl$8.execute(JGitAPIImpl.java:1887)
at
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
It seems like this is a separate issue (JENKINS-37120
<https://issues.jenkins.io/browse/JENKINS-37120>), but I was able to use
the suggested workaround and get it working (specify full tag path like
refs/tags/xxx).
Summary:
* using jgit instead of system installed git
* both webhook and git publisher are working
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/41df87d3-be80-4c2c-bdca-0b7d47e8c9dfn%40googlegroups.com.