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

build.doStop() does not stop all parallel jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, pipeline
    • None
    • Jenkins 2.127

      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.

       

       

            Unassigned Unassigned
            piratejohnny Jon B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: