Issue Type: Bug Bug
Assignee: Jesse Glick
Components: durable-task
Created: 18/Mar/14 5:34 PM
Description:

Currently BourneShellScript does not try to track the PID of the external process; it assumes that it runs to completion (successfully or not) and then writes the status file. But if the wrapping shell script is killed, or the machine rebooted, this might never occur and the task would hang.

Better to record $$ from the outer sh process and override exitStatus in case no such process still exists. Implies some use of native code.

(TBD whether an analogous fix can be done for Windows as well.)

Project: Jenkins
Priority: Major Major
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to