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

Mercurial polling does not expand parameters/tokens

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • mercurial-plugin
    • None
    • Ubuntu Linux

      In Mercurial Source Code Management, in the field "Branch", I have specified a build parameter $hgBranch.
      The default value for this parametrized build is "default" so as to hit the default branch.
      This works well when doing manual or time-triggered builds.

      But the Poll SCM build trigger does not seem to be expanding this parameter at all, resulting in the polling to not work at all.

      Here is the output of the Mercurial polling log:

      Started on May 13, 2011 3:00:42 PM
      [workspace] $ hg incoming --style /var/lib/jenkins/jobs/ds/workspace/tmp7235984072799037438style --no-merges --rev $hgBranch --newest-first
      comparing with http://192.168.15.239/ds
      abort: unknown revision '$hgBranch'!
      Done. Took 1 sec
      No changes

          [JENKINS-9686] Mercurial polling does not expand parameters/tokens

          Marc Boscher created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-8335 [ JENKINS-8335 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-16783 [ JENKINS-16783 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Kevin Binswanger made changes -
          Link Original: This issue is duplicated by JENKINS-16783 [ JENKINS-16783 ]
          Chris Thalinger made changes -
          Link New: This issue is related to JENKINS-23497 [ JENKINS-23497 ]
          Kim Randell made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Jesse Glick [ jglick ]
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Kim Randell made changes -
          Link New: This issue depends on JENKINS-30239 [ JENKINS-30239 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139860 ] New: JNJira + In-Review [ 188727 ]

            jglick Jesse Glick
            marc_boscher Marc Boscher
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: