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

Git polling forces workspace-based polling when using parameters in Branch Specifier field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None
    • Jenkins server v2.121.2
      Git plugin v3.9.1
      Git client plugin v2.7.3

      We're using dynamic docker slaves which are spun up to build and then immediately deleted when the job is completed. We ran into an issue where the git polling was not working and tracked it down to the use of a parameter in the Branch Specifier field (See screenshot). 

      Having to hard-code this value into the field is fine but we prefer to use a parameter to avoid having to hard-code this value in other related fields which adds the risk of missing one when making a job change.

      The same problem seems to also affect the Lightweight Checkout option.

            Unassigned Unassigned
            jsaliga Jamie Saliga
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: