broken workspace less polling

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Blocker
    • Component/s: git-plugin
    • Environment:
      git-plugin 2.4.0, 2.3.5
      git-client-plugin 1.18.0, 1.19.0
      jenkins-lts 1.609.3

      Job configuration is pretty simple:
      url to repo, credentials, one branchspec with

      **

      or

      *

      . Worked before updates (sorry lost previous versions). Job assigned to cloud based slave. After update constantly prints "no workspace triggering build immediately" (lost exact message because bypassed issue atm).

      1. First of all with groovy build step i checked that job configuration returns true for requiresWorkspaceForPolling()
      2. I have no extensions so this line of code is bad https://github.com/jenkinsci/git-plugin/blob/054359b8601dff8234b6c45bf2c701c1616f635d/src/main/java/hudson/plugins/git/GitSCM.java#L521
      3. Then there are many inconsistency in code:

      So to get working polling i set SPACE in branchspec.
      Sorry, but have no time for providing any fixes in this over hacked plugin code.
      Status blocker, because with cloud based slaves it triggers builds infinitely.

            Assignee:
            Unassigned
            Reporter:
            Kanstantsin Shautsou
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: