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

Mercurial polling does not expand parameters/tokens

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: mercurial-plugin
    • Labels:
      None
    • Environment:
      Ubuntu Linux
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: