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

XMLWordPrintable

    • 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.

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

              Created:
              Updated: