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

Couldn't find any revision to build. Verify the repository and branch configuration for this job.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • git 2.0.3, git-client 1.6.3

      After updating from git 1.5 to 2.0.3 and git-client from 1.3 to 1.6.3, I get the following message when I try to build from a tag:

      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

      Building from master works fine, I'm using the "Branch Specifier" field and "refs/tags/1.7.12" or "tags/1.7.12" as input.

          [JENKINS-21978] Couldn't find any revision to build. Verify the repository and branch configuration for this job.

          Benn Sundsrud added a comment -

          We're seeing the same error in 2.0.3 on Jenkins 1.552 trying to build tags/$tagVersion passed in via build param. Other builds that specify branches work fine, only building tags fails. Rolling back the git plugin to 2.0 works, leaving git-client 1.6.3.

          Benn Sundsrud added a comment - We're seeing the same error in 2.0.3 on Jenkins 1.552 trying to build tags/$tagVersion passed in via build param. Other builds that specify branches work fine, only building tags fails. Rolling back the git plugin to 2.0 works, leaving git-client 1.6.3.

          Mark Waite added a comment -

          Duplicate of JENKINS-21952

          Mark Waite added a comment - Duplicate of JENKINS-21952

          Mark Waite added a comment -

          The git client plugin 1.10.0 accepts a broader range of specifications for the branch to build, and allows tag builds using that broader range of specifications for branch to build.

          Refer to the online help for the "Branches to build" field for examples of the syntax which is accepted and the meaning of those items

          Mark Waite added a comment - The git client plugin 1.10.0 accepts a broader range of specifications for the branch to build, and allows tag builds using that broader range of specifications for branch to build. Refer to the online help for the "Branches to build" field for examples of the syntax which is accepted and the meaning of those items

            ndeloof Nicolas De Loof
            flaviodonze Flavio Donzé
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: