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

Setting branch name prevents branch from building

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • git-plugin
    • Windows Server 2008 R2, Jenkins 1.454, Git Plugin 1.1.16, Git version 1.7.9-preview20120201

      It appears a bug has been introduced in Git plugin 1.1.16:

      If I set the branch specifier in the "Branches to Build" section, I always get the following error.

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

      The only way I found to resolve this is to get rid of the branch specifier and replace it with **. However, I only want to build a specific branch in our Git repo, so in the meantime I've rolled back to 1.1.15 where this functionality is working just fine.

            kohsuke Kohsuke Kawaguchi
            westhusing Adam Westhusing
            Votes:
            18 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: