• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • p4-plugin
    • None
    • p4-plugin 1.3.9

      The p4 plugin does not poll while builds are running, I get the message:

      Build in progress, polling delayed.

      This makes some small sense for normal projects, but when using the pipeline plugin it makes things difficult as pipeline scripts may pause for a long time while not using an executor or a workspace to let other jobs build.

      The offending code is in PerforceScm.java

                      // Delay polling if build is in progress                                                                                                                                                           
                      if (job.isBuilding()) {
                              listener.getLogger().println("Build in progress, polling delayed.");
      			return PollingResult.NO_CHANGES;
                      }
      
      

          [JENKINS-34052] P4 plugin does not poll when builds running

          Nils Carlson created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170072 ] New: JNJira + In-Review [ 183755 ]

          Kyle Mott added a comment -

          This is a problem for us as well, since p4 plugin returns NO_CHANGES, a job that allows concurrent builds will never fire again if that job is already building.

          I'd also like to bump this up in priority to Major, but not sure what the proper procedure for that is.

          Kyle Mott added a comment - This is a problem for us as well, since p4 plugin returns NO_CHANGES, a job that allows concurrent builds will never fire again if that job is already building. I'd also like to bump this up in priority to Major, but not sure what the proper procedure for that is.
          Staffan Forsell made changes -
          Link New: This issue is related to JENKINS-41849 [ JENKINS-41849 ]

          Priya Gangaraju added a comment - - edited

          This is problem for us as well and would like to bump this up in priority.

          Priya Gangaraju added a comment - - edited This is problem for us as well and would like to bump this up in priority.
          Robby Pocase made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]

          Robby Pocase added a comment -

          This is a huge issue for users with long running pipelines (particularly if long layers of test are included but you may want multiple compile portions running).

          Robby Pocase added a comment - This is a huge issue for users with long running pipelines (particularly if long layers of test are included but you may want multiple compile portions running).
          Robby Pocase made changes -
          Assignee New: Robby Pocase [ rpocase ]
          Robby Pocase made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Robby Pocase added a comment -

          Started working on this and saw the related ticket. Reaching out on the other ticket to see if one of these should really be marked as a duplicate.

          Robby Pocase added a comment - Started working on this and saw the related ticket. Reaching out on the other ticket to see if one of these should really be marked as a duplicate.

            rpocase Robby Pocase
            pyssling Nils Carlson
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: