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

Hg poll fails when there is no default branch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I have created my own hg repository by converting it from svn one. It does not
      have the "default" branch and as a result the poll seems to fail:

      Started on Sep 14, 2007 12:06:51 PM
      [workspace] $ hg id default
      Failed to check the tip revision
      null
      hudson.AbortException
      at
      hudson.plugins.mercurial.MercurialSCM.getTipRevision(MercurialSCM.java:80)
      at
      hudson.plugins.mercurial.MercurialSCM.pollChanges(MercurialSCM.java:56)
      at
      hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:526)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:234)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:266)
      at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Done. Took 0 seconds
      No changes

      Moreover there seems to be on UI to configure the branch I want the hudson to
      use.

        Attachments

          Activity

          jst jst created issue -
          kohsuke Kohsuke Kawaguchi made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          kohsuke Kohsuke Kawaguchi made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 130888 ] JNJira + In-Review [ 200200 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              jst jst
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: