Issue Details (XML | Word | Printable)

Key: HUDSON-3125
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: timomeinen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hudson

Hudson kills processes started within builds

Created: 24/Feb/09 02:26 AM   Updated: 24/Feb/09 07:40 PM   Resolved: 24/Feb/09 07:40 PM
Component/s: core
Affects Version/s: current
Fix Version/s: None

Environment: Platform: All, OS: Linux
Issue Links:
Duplicate
 


 Description  « Hide

We use Hudson to start a Tomcat application server before tests are running. The freestyle project uses
an ant target for this with "fork=true" and "spawn=true", because we want to keep the Tomcat running
after the build.

Since Hudson version 1.284 it kills the tomcat-process after the build finished, even if the spawn
option is set.

Is there an option in Hudson available that prevents the process-killing?

Thank you
Timo Meinen



Sort Order: Ascending order - Click to sort in descending order
mdonohue added a comment - 24/Feb/09 07:40 PM

set the environment variable BUILD_ID to something like 'dontKillMe' in the
process that should stay alive.

Hudson looks for that environment variable when cleaning up stray processes.

      • This issue has been marked as a duplicate of 3105 ***