Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cruisecontrol.net 1.6 - CCNet Status becoming "Unknown"

I'm having some problem with my scheduled build. This is how it goes:

  1. Created the project entry in my cruisecontrol.net config file. At this time, CC dashboard will show the new project entry, with CCNet status "Unknown". This project will have a scheduledTrigger, so that it runs daily at a specific time.
  2. I trigger a build for the project and the Build is Successful. Now the CCNet status is "Running".
  3. The daily builds happen in a consistent manner for some days. The CCNet status still shows "Running" every day.
  4. At some point (after few days), the CCNet status of this project suddenly changes to "Unknown", after which the scheduled build doesn't happen.

In short, CC scheduled build happens only when the CCNet status is "Running". Once it changes to "Unknown", the scheduled build stops triggering.

In my case, the CCNet status is getting changed from "Running" to "Unknown" without any specific reason, and hence the scheduled build stops.

Any idea why this is happening?

Thanks.

like image 875
Sandeep Avatar asked Aug 11 '11 08:08

Sandeep


2 Answers

$ccnetINSTALLDIR\server\ProjectsState.xml.

Remove any entries of projects in the node in the ProjectState.xml file. This will fix the issue. Restart ccnet server if needed

like image 55
Vikranth Avatar answered Sep 22 '22 03:09

Vikranth


One possibile cause for this is that state file is getting deleted. State file location is defined by state tag in the ccnet.

You can check if any clean up process is turning ccnet service off and deleting the state files.

like image 39
Thinker Avatar answered Sep 25 '22 03:09

Thinker