leander
leander

Reputation: 8737

Hudson "stop" / cancel build leaving processes behind

We have an automated build, managed by Hudson (1.312), that's got a few layers. On the slaves:

The master is an OSX machine running a stock Tomcat.

The problem: the "cancel build" button (little red X that leads to a "stop" URL) doesn't take out make or any of its subprocesses. As far as the Hudson UI is concerned, the job stopped successfully, but there are still make.exe and cc/ld processes running. This can cause serious problems if the build starts again in the same workspace.

Is there a "best practice" for getting all of these processes to shut down?

(Before anyone suggests a less Frankensteinian build management framework like ant, jam, maven, etc -- we're migrating to jam, somewhat successfully! While we're getting the kinks sorted out, we need to have builds killable on the current system, though.)

Upvotes: 3

Views: 1849

Answers (1)

Kohsuke Kawaguchi
Kohsuke Kawaguchi

Reputation: 3617

This is likely a bug, and we need to diagnosis this problem. Can you file this in the issue tracker please?

Upvotes: 5

Related Questions