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

broken workspace less polling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • git-plugin
    • None
    • 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.

            Unassigned Unassigned
            integer Kanstantsin Shautsou
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: