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

Steps that accept closure overwrite parallel branch context logs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None
    • Jenkins 2.0, Pipeline plugins 2.0, Linux master, Windows slaves

      When within a parallel branch and using steps that accept a closure (such as 'withEnv', 'dir' or 'timeout') the parallel context prepended in log is lost after the step has completed. This doesn't happen if a closure is called directly.

      See example script and log.

            jglick Jesse Glick
            sonneveldsmartward Nick Sonneveld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: