build.doStop() does not stop all parallel jobs

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I use Jenkins pipelines with the parallel option in order to run 35 parallel test partitions at the same time.

      If a developer kicks off two builds in a row, I have some groovy logic which loads up the previous job build and calls doStop() on it.

      In the build I'm trying to stop, I see:

      Sending interrupt signal to process

      in the console at the moment that I called stopJob on it... which is expected. However, not all of the parallel running jobs stop. Some of them keep going as if the interrupt signal was never sent and this means the overall pipeline keeps going.

      I am hoping that the attached screenshot can help further depict what's going on.

       

       

            Assignee:
            Unassigned
            Reporter:
            Jon B
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: