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

1.1.21: Couldn't find any revision to build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Hi,

      I have a job which requires a param: to specify a branch name. Up to the version 1.1.20. In 1.2.11, when I do that. error happens like this:

      Fetching changes from 1 remote Git repository
      Fetching upstream changes from git@github.com:mycompany/myrepo.git
      Pruning obsolete local branches
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      Recording fingerprints
      An attempt to send an e-mail to empty list of recipients, ignored.
      Email was triggered for: Failure
      Sending email for trigger: Failure
      An attempt to send an e-mail to empty list of recipients, ignored.
      Notifying upstream projects of job completion
      Finished: FAILURE

      No clue why.

      Downgrade to 1.1.20. The job back to normal.

      Please see the attached files to see my config related to git

      Thanks

        Attachments

          Issue Links

            Activity

            hayafirst Yi Wen created issue -
            bjacobs Bryan Jacobs made changes -
            Field Original Value New Value
            Attachment 0001-Correct-branch-selection-logic.patch [ 22110 ]
            bjacobs Bryan Jacobs made changes -
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-14480 [ JENKINS-14480 ]
            jglick Jesse Glick made changes -
            Summary The version 1.1.21 breaks 1.1.21: Couldn't find any revision to build
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 145030 ] JNJira + In-Review [ 176251 ]
            ndeloof Nicolas De Loof made changes -
            Assignee Nicolas De Loof [ ndeloof ]

              People

              • Assignee:
                Unassigned
                Reporter:
                hayafirst Yi Wen
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: