Branch: refs/heads/master
  Commit: e7fbce371e11b470d78d159fdf0bc45d3688ac4a
  Author: apetres <>
  Date:   2018-03-10 (Sat, 10 Mar 2018)

  Changed paths:
    M core/src/main/java/hudson/
    M core/src/main/java/hudson/

  Log Message:
  Allow disabling process killing on interruption (#3293)

* Allow disabling process killing on interuption

Plugins may want to do custom action when the execution of a remote process is 
interrupted. Currently it is not possible, because
the process started on a slave is killed on interruption.
My actual use case:!msg/jenkinsci-dev/s6IkynOzdqE/2eFNKN9lAAAJ

My solution is to have a flag called killWhenInterrupted, set by default to 
true, which prevents process killing on the slave when unset.

* Invert killWhenInterrupted flag

* Add javadoc

You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to