CoreWrapperStep should run SimpleBuildWrapper.setUp asynchronously

XMLWordPrintable

    • workflow-basic-steps 2.14

      CoreStep runs SimpleBuildStep.perform in a background thread, via SynchronousNonBlockingStepExecution, so while pendingĀ JENKINS-30383Ā there is a high chance that a Jenkins restart will cause a build failure, at least the CPS VM thread is not blocked. However CoreWrapperStep runs SimpleBuildWrapper.setUp directly from Execution.start, since there is no block-scoped equivalent of SynchronousNonBlockingStepExecution, which means that a slow wrapper could block the VM thread indefinitely.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: