• 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 ]
          Staffan Forsell made changes -
          Link New: This issue is related to JENKINS-41849 [ JENKINS-41849 ]
          Robby Pocase made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Robby Pocase made changes -
          Assignee New: Robby Pocase [ rpocase ]
          Robby Pocase made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Paul Allen made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: