Build Parameter variable in branch name causes polling to detect false changes in GIT

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: git-plugin
    • Environment:
      Jenkins 1.537
      Jenkins GIT Plugin 2.0
      Jenkins Multiple SCM Plugin 0.2

      Create a Job with a parameter:
      branch

      In GIT configuration set branch to:
      ${branch}
      or
      */${branch}

      This causes polling to keep detecting changes, even when there are none.

      Everything is fine when I hardcode branch name like so:
      */master

            Assignee:
            Unassigned
            Reporter:
            Mark Espiritu
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: