How can we trap the abort signal of the job on hudson so that i can do some post steps in case of abort (I am running a job on hudson which has shell script running in background)?
相关问题
- 2 instances of Sonar on same machine
- Hudson : warning MSB3245: Could not locate the ass
- Maven + FindBugs - fail on high-priority warning
- How do you set up Hudson to work with Git?
- How can I get SCP and ftp (from command line, not
相关文章
- Passing the Maven Debug Flag from Hudson
- Hudson and maven-release-plugin
- How to pass a build number within the MultiJob plu
- Which settings.xml is used by jenkins slave?
- Jenkins Build error java.lang.ClassNotFoundExcepti
- Marking upstream Jenkins/Hudson as failed if downs
- BitBucket+Jenkins: Trigger build only when specifi
- Hudson: how do i use a parameterized build to do s
I have experienced with Jenkins, not hudson, (Jenkins is a fork of hudson) Jenkins sends a SIGTERM on Unix through Sun's JRE java.lang.UnixProcess.destroyProcess, on Windows, this is done through TerminateProcess API.
JENKINS - Aborting a build
HUDSON - Aborting a build
So you can use "trap" in your shell script by this way