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

Git Plugin 2.0 has changed contents of GIT_BRANCH

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • Jenkins 1.537; Git Plugin 2.0; Git Client Plugin 1.4.6; SCM API Plugin 0.2

      I've configured a job to clone a repository and use the "develop" branch. With the 1.5 plugin, GIT_PLUGIN was set to "develop". After upgrading to 2.0, GIT_BRANCH is now set to "origin/develop", which breaks my scripts which were relying on the previous value.

          [JENKINS-20446] Git Plugin 2.0 has changed contents of GIT_BRANCH

          David Schmitt created issue -
          Mark Waite made changes -
          Component/s Original: git-client [ 17423 ]
          Component/s Original: git-parameter [ 16113 ]
          Labels Original: git git-client New: git
          Mark Waite made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Tim Pizey made changes -
          Resolution Original: Won't Fix [ 2 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Tim Pizey made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Tim Pizey made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Horst Krause made changes -
          Link New: This issue is related to JENKINS-25465 [ JENKINS-25465 ]
          Horst Krause made changes -
          Link New: This issue is related to JENKINS-21421 [ JENKINS-21421 ]
          Horst Krause made changes -
          Link New: This issue is related to JENKINS-21607 [ JENKINS-21607 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151971 ] New: JNJira + In-Review [ 185478 ]

            Unassigned Unassigned
            davidschmitt David Schmitt
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: