Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27332

git-plugin no longer detects changes of branch with /

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • git-plugin
    • None
    • Jenkins 1.601
      GIT client plugin 1.16.1
      GIT plugin 2.3.5

      git-plugin does not detect changes and thus does not trigger builds

      Git plugin used to detect changes when the specified branch was "feature/abc" but no longer does.

      Does not detect:

      Started on Mar 10, 2015 4:13:00 PM
      Using strategy: Default
      [poll] Last Built Revision: Revision 5...9 (refs/remotes/origin/feature/abc)fhuberts
      using GIT_SSH to set credentials Git Credentials
      > git --version # timeout=10
      > git ls-remote -h ssh://myserver/myproject.git # timeout=10
      Done. Took 0.81 sec
      No changes

      Does detect:

      Started on Mar 10, 2015 4:16:00 PM
      Using strategy: Default
      [poll] Last Built Revision: Revision 1...e (origin/develop)
      > git --version # timeout=10
      > git ls-remote -h ssh://myserver/otherproject.git # timeout=10
      [poll] Latest remote head revision on origin/develop is: 1...e - already built by 81
      Done. Took 0.8 sec
      No changes

      Workaround:
      Revert to GIT Plugin 2.3.4

            ndeloof Nicolas De Loof
            thomassuckow Thomas Suckow
            Votes:
            5 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: