git integration with Jenkins facing issues post upgrade to latest version

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
       

            Assignee:
            Unassigned
            Reporter:
            Ankur
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: