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

Using a Tag in Branch Specifier causes the polling to not detect the head revision

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins 1.584
      Jenkins Git Plugin 2.3.1
      Jenkins Multiple SCMs plugin 0.3

      1. Use a Tag in the Branch Specifier.
      2. Polling on the remote repo will occur.
      3. It will run git ls-remote -h MY_REMOTE MY_TAG
      4. This will result in nothing returned from the remote repository.

      git ls-remote has a --tags option which will return the SHA of the Tag.

      Polling is enabled because the Job also checkouts an SVN repository using the Jenkins Multiple SCMs plugin which doesn't refer to a tag.

          [JENKINS-26314] Using a Tag in Branch Specifier causes the polling to not detect the head revision

          Nathan Smith created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160376 ] New: JNJira + In-Review [ 180331 ]
          Nicolas De Loof made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]

            Unassigned Unassigned
            nathan_smith Nathan Smith
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: