-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
We upgraded git plugin and git client plugin on our Jenkins server and post upgrade we are facing some inconsistent behavior in Jenkins.
(Upgraded git plugin from 4.6.0 or 4.7.0 (most likely 4.7.0) to 4.7.2)
(Upgraded git client plugin from unknown to 3.8.0)
Firstly most of our jobs stopped working.
Then we were able to run some of our jobs which use git plugin in pipeline to fetch pipeline file.
These started working after we changed
*/branch_name and refs/heads/branch_name
to
refs/remotes/origin/
in our jobs.
In SCM however the jobs still not working and we get below error:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Some jobs are also hanging at :
git fetch --tags --progress
https://OUR-BITBUCKET-URL/scm/mis/testrepo.git
+refs/heads/:refs/remotes/origin/ # timeout=10