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
Can anyone provide advice on how I can troubleshoot this issue further? I'm
not able to log into JIRA so I'm not able to create an issue and
communicate there.
I'm willing to dive deeper into the issue but am unsure how/where to start.
Thanks!
On Thursday, December 3, 2020 at 9:32:22 AM UTC-6
I've noticed the same happening every time. When I push to Github:
- Job 1 successfully receives webhook and build is triggered.
- Job 2 errors receiving webhook and build is not triggered. Github hook
log shows "ERROR: Failed to record SCM polling. java.lang.RuntimeException:
ssh ex
Thanks for the reply Mark.
We do have git installed/configured on the controller and the hook does
succeed for some builds, but not all. The hook succeeds for other builds
that also are configured to run on the slave and builds that run on the
controller/master. We have only started seeing this
The hook is evaluated on the Jenkins controller. Since you indicate that
it is running on Windows, then you'll need command line git installed on
your Jenkins controller. We test regularly with Git for Windows using
either the standard installer or the PortableGit installer. Be sure that
the loc
I have a build job configured for "GitHub hook trigger for GITScm polling".
The build succeeds when triggered manually, but always fails when it is
triggered via Github webhook!
Additionally, the other strange thing is I have a different build job
pointing to the same repository which also is c