I just checked and confirmed what you reported.  A Unix based agent does
not kill the process that was created by the XShell plugin, even though the
Jenkins job stops.

A shell step does kill the process that was created.

Process did seem to be killed on a Windows agent with XShell.

Work around is to switch from XShell to the shell step.  Please submit a
bug report to issues.jenkins.io.

Mark Waite

On Fri, Aug 6, 2021 at 4:25 PM Anne Hammond <[email protected]> wrote:

> Xshell plugin, or cross-platform shell plugin, 0.10 is not stopping jobs
> on the clients under jenkins 2.289.2 when the job is aborted from the
> jenkins dashboard.
>
> There are some previous posts about Xshell where it worked in 1.586 (is
> this the jenkins version?), and in 1.565.2-1.586.
>
> This worked until we upgraded jenkins from 2.107.3 to 2.289.2.
>
> Any advice for how to fix this, or to post more information here so that
> it can be fixed in jenkins, appreciated.
>
> Thank you!
>
> Anne
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/d8f530b2-eb2a-4536-ac80-709c6a71c3b2n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/d8f530b2-eb2a-4536-ac80-709c6a71c3b2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF%2BpEY5Dj-A42Fd4y9YL_2eGx9wNZ73uBvirFMbMN6brQ%40mail.gmail.com.

Reply via email to