Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      git-plugin 2.4.0, 2.3.5
      git-client-plugin 1.18.0, 1.19.0
      jenkins-lts 1.609.3
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

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

                Dates

                • Created:
                  Updated: