Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: e7fbce371e11b470d78d159fdf0bc45d3688ac4a
      
https://github.com/jenkinsci/jenkins/commit/e7fbce371e11b470d78d159fdf0bc45d3688ac4a
  Author: apetres <apet...@users.noreply.github.com>
  Date:   2018-03-10 (Sat, 10 Mar 2018)

  Changed paths:
    M core/src/main/java/hudson/Launcher.java
    M core/src/main/java/hudson/Proc.java

  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: 
https://groups.google.com/forum/#!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 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to