A window batch script in the jenkins pipeline is multi-threaded. After executing this script, it will pause for about 3 minutes for a long time before exiting and continuing the pipeline.

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Minor
    • None
    • Environment:
        jenkins <version>2.332.1</version>
       window 10

      1.This window batch script(rebuid) in the jenkins pipeline is multi-threaded. After executing this script, it will pause for about 3 minutes for a long time before exiting and continuing the pipeline.

      2.If the script is executed in a non multithreaded mode, it can exit quickly

      3.Jenkins' build log information shows that "rebuild" in the pipeline

      Exit 0 echo hello2 ", the last two sentences are not executed.

            Assignee:
            Unassigned
            Reporter:
            yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: