views:

2005

answers:

4

I am trying to get cc-tray to work instead of using the web dashboard. I'm not sure how I can get the correct url for the server that my cruisecontrol is running on and I can't find any useful documentations online. Can anyone help?

Thanks

+1  A: 

If you are using a version after 1.1 then you will want to point your CC tray client to the web dashboard site.

You should make sure you have the CCNET dashboard setup of a web server then you can do the following.

  • File > Settings > Build Projects (click add)
  • Add Server (click)
  • Choose Via the CruiseControl dashboard
  • Enter the address of your web dashboard site. Perhaps something like "yourserver.com/ccnet". You can find this via browsing to the web dashboard then copying the URL upto the folder level.
  • Click OK, choose the projects to watch
  • Profit!
Ira Miller
+2  A: 

It depends a bit on the version you use. It is always a good idea to use the version of CCTray that you download from your running instance of the CCNet dashboard (on the dashboard, in the left column, you'll find a link 'Download CCTray').

Then it is mostly a matter of "Add Server". Older versions required a Remoting connection that requires some ports open in your connection to CCNet. Nowadays, you can connect over HTTP.

Teun D
A: 

I have run into a strange situation where I can view my dashboard online but cannot connect via cctray.

I am following the same steps listed by Ira and I can see my dashboard in my browser, but when I paste the link into the cctray field for the add server I get : "Failed to connect to server: The remote server returned an error: (500) Internal Server Error."

Has anyone had this happen to them? Does anyone know what the fix is?

Thanks.

Harry Snyder
I got the same error. Did you manage to fix it?
shake
Same here...anyone?
womp
A: 

I had the same trouble and was resolved setting this Url in the Add Server (http): http://yourserver/ccnet/server/local/ViewServerReport.aspx. It works fine with this.