- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Major
 - 
    None
 - 
    any
 
- 
        
 - 
        2.141
 
Using the freestyle projects to execute bash shell scripts work fine. But cancelling a jenkins job seems to use SIGKILL. In this way the script cannot perform cleanup operations and free resources.
SIGKILL cannot be handled by shell
SIGINT/SIGTERM are not used by jenkins
Preferred: SIGINT -> wait 5 seconds -> SIGKILL
- is related to
 - 
                    
JENKINS-3105 Configuration UI to disable process tree killer selectively
-         
 - Resolved
 
 -         
 - 
                    
JENKINS-55106 Build stuck on final "exit 0"
-         
 - Open
 
 -         
 
- relates to
 - 
                    
JENKINS-59152 Jenkins fails to properly abort "bat" step
-         
 - Resolved
 
 -         
 
- links to