CruiseControl.NET (CCNET) "Process exited event received" but build waits?

178 views Asked by At

I'm using CCNET to schedule and run some automated testing. I have a few executables I want to run. These are developed in C#/WPF. I'm exiting out of the app using an exit code "Shutdown(0);".

CC runs the application, the applications completes then shuts down, CC console shows "Process exited event received" but appears to continue waiting for the application to exit.

How can I get CC to consider the task complete and move on to the next task? I have added 0 in successExitCodes and set unlimited timeout with 0 in buildTimeoutSeconds.

1

There are 1 answers

0
user1107685 On BEST ANSWER

I found and resolved the problem.

The process I ran through the executable task had started another process and not killed it before exiting. CCNET was waiting for that child process to also exit.