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

warnings enforces serial execution of concurrent build

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • warnings-plugin
    • None

      If a concurrent build is still running I get "Scan for compiler warnings is waiting for a checkpoint on ". This is with 4.35. I haven't tested 4.40 because the release notes don't state anything related. According to #9913 it seems that the warnings plugin is using the build step monitor incorrectly and thus enforcing this unnecessary serialization.

          [JENKINS-23499] warnings enforces serial execution of concurrent build

          Ulli Hafner added a comment -

          What is your configuration? What is incorrect, can you please elaborate? Here is the corresponding code:

              public BuildStepMonitor getRequiredMonitorService() {
                  return canComputeNew() ? BuildStepMonitor.STEP : BuildStepMonitor.NONE;
              }
          

          Are you computing new warnings?

          Ulli Hafner added a comment - What is your configuration? What is incorrect, can you please elaborate? Here is the corresponding code: public BuildStepMonitor getRequiredMonitorService() { return canComputeNew() ? BuildStepMonitor.STEP : BuildStepMonitor.NONE; } Are you computing new warnings?

          Roland Schulz added a comment -

          Sorry. I didn't realize that "compute new warnings" is causing this.

          Roland Schulz added a comment - Sorry. I didn't realize that "compute new warnings" is causing this.

          Ulli Hafner added a comment -

          Is it ok to close this issue then?

          Ulli Hafner added a comment - Is it ok to close this issue then?

          Roland Schulz added a comment -

          yes

          Roland Schulz added a comment - yes

            drulli Ulli Hafner
            rschulz Roland Schulz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: