Cradiator Team City Install

Nov 12, 2010 at 6:00 PM

Hi, I've just started using Cradiator and I think its a great tool - but Im just having a little trouble getttin it setup.

Basically I have used the teamcity plugin and copied the zip file to the correct location on teamcity. The zip file was unpacked successfully and installed and I can see the file in the list of plugins.

Now, when I follow the install file - i cant see the following file

http://<teamcity-server>:<port>/guestAuth/cradiator.html?projectId=<projectid>

The guestauth account is enabled and works for other plugins. But for some reason I cant see cradiator.html....what am I missing?

Any suggestions?

 

Thanks

Dean

Coordinator
Nov 14, 2010 at 2:11 AM
Edited Nov 14, 2010 at 2:12 AM

Hi Dean,

The full URL (including cradiator.html) will ultimately be a blank page with xml in the underlying source.

Are you just seeing the blank page and getting suspicious? (you should see a bunch of xml if you do "View Source") or does it really not work when you try connect cradiator to the URL (eg http://localhost:8111/guestAuth/cradiator.html?projectId=project2)

If none of the above answers the problem, maybe just clarify what you mean when you say "I can't see cradiator.html"

Nov 15, 2010 at 9:30 AM
Hi

Thanks for getting back to me. At the moment I am not even seeing the cradiator.html page. Im not sure if its not included in the team city plugin. But I cant find it anywhere, even if I browse to the URL. (eg http://localhost:8111/guestAuth/cradiator.html?projectId=project2) I have also tried looking in the plugins folder and I cant find a cradiator.html file there either.

Sorry, I hope that explains it a little better....please let me know if you need more detail.

Thanks
Dean

Coordinator
Nov 15, 2010 at 1:29 PM

It's a little vague.

Exactly what shows when you browse to the URL? Do you get an error?

I don't see any reason to look for "cradiator.html" in particular - either the full URL works or doesn't. There is nothing else to look for or worry about ;-)

Admittedly, I didn't write the plugin & haven't personally installed it, so I could be missing something.

Nov 15, 2010 at 11:44 PM

Dean,

The page that you get back from that URL is pure XML, so it shows as a blank page in most web browsers.  As PandaWood said in his first reply, if you want to see the contents of the file, just do a view source.

If you put this URL into Cradiator and it does not show any projects after it has refreshed at least once, then the problem is probably that for each build configuration you want to show through Cradiator, you need to make sure that you turn on the "<label for="allowExternalStatus">enable status widget" checkbox on the General Settings page.</label>

Cheers,

James.

 

Nov 16, 2010 at 11:20 AM
Hi Demyte

Thanks for the tip. I have updated the settings to enable status widget on the General Setting page. Unfortunately I am still getting a 404 error whenever I try and browse to this URL.


Where does the cradiator.html file exist on the team city folder structure, as I cannot find it on there?

On Mon, Nov 15, 2010 at 11:45 PM, demyte <notifications@codeplex.com> wrote:

From: demyte

Dean,

The page that you get back from that URL is pure XML, so it shows as a blank page in most web browsers. As PandaWood said in his first reply, if you want to see the contents of the file, just do a view source.

If you put this URL into Cradiator and it does not show any projects after it has refreshed at least once, then the problem is probably that for each build configuration you want to show through Cradiator, you need to make sure that you turn on the "<label for="allowExternalStatus">enable status widget" checkbox on the General Settings page.</label>

Cheers,

James.

Read the full discussion online.

To add a post to this discussion, reply to this email (Cradiator@discussions.codeplex.com)

To start a new discussion for this project, email Cradiator@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Nov 17, 2010 at 12:33 AM

Dean,

Firstly, the cradiator.html file does not exist as a physical file, it is magically formed as part of how the plugin works.

If you are getting a 404 when you browse to that page, then I would assume that the plugin is not loaded properly in TeamCity.

Have you got the cradiator.jar file sitting in the following location:  <TeamCityServerDirectory>\webapps\ROOT\WEB-INF\lib\

After it is put there, restart TeamCity.

James.

 

Nov 17, 2010 at 12:09 PM
Hi Demyte

Okay thats great....it feels like Im heading in the right direction. Thanks for your help.
Nope, at the moment there is no cradiator.jar file at that location.

Let me explain the steps I took to install the plugin:
I went onto github and downloaded the code from the following directory: https://github.com/demyte/Cradiator-TeamCity-Plugin
Once that was done I tried to follow the install file, but I couldnt find the cradiator.jar file - so I did some searching around and did what I thought was the correct way to install it (I copied the zip file into the team city directory and it unzipped it for me). In team city the plugin is showing under the external plugins section - so I assumed it was installed.

Do I need to compile the downloaded (from github) code? Im not too sure about the compiling the java code as I have mostly dealt with .net code! Where can I get the jar file from?

Thanks for all your help and patience!


On Wed, Nov 17, 2010 at 12:33 AM, demyte <notifications@codeplex.com> wrote:

From: demyte

Dean,

Firstly, the cradiator.html file does not exist as a physical file, it is magically formed as part of how the plugin works.

If you are getting a 404 when you browse to that page, then I would assume that the plugin is not loaded properly in TeamCity.

Have you got the cradiator.jar file sitting in the following location: <TeamCityServerDirectory>\webapps\ROOT\WEB-INF\lib\

After it is put there, restart TeamCity.

James.

To add a post to this discussion, reply to this email (Cradiator@discussions.codeplex.com@discussions.codeplex.com)

To start a new discussion for this project, email Cradiator@discussions.codeplex.com@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Nov 18, 2010 at 12:03 AM

Dean,

 

You need to goto: https://github.com/PandaWood/Cradiator/tree/master/teamcity-plugin/

That has the pre-built code from https://github.com/demyte/Cradiator-TeamCity-Plugin

That should sort you out.

 

James.

Nov 18, 2010 at 10:27 AM
Guys

I have to say a big thank you to both of you. Its all sorted now....got it working perfectly, the cradiator.jar file was what I needed.

Thanks for your help!

Dean

On Thu, Nov 18, 2010 at 12:03 AM, demyte <notifications@codeplex.com> wrote:

From: demyte

Dean,

You need to goto: https://github.com/PandaWood/Cradiator/tree/master/teamcity-plugin/

That has the pre-built code from https://github.com/demyte/Cradiator-TeamCity-Plugin

That should sort you out.

James.

Read the full discussion online.

To add a post to this discussion, reply to this email (Cradiator@discussions.codeplex.com@discussions.codeplex.com)

To start a new discussion for this project, email Cradiator@discussions.codeplex.com@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Feb 18, 2011 at 3:13 PM

Hi there, I've read through the post above as I have issues trying to install Cradiator. We are currently using TeamCity 6.0.1 so perhaps this is the problem as I've done everything above. Do you know if Cradiator works with TC 6.0.1?

I enabled the guest account and I can access our TC server with http://<tc_server_ip>/guestAuth/. I have the jar file and I put it into <TeamCityServerDirectory>\webapps\ROOT\WEB-INF\lib\ and I restarted our TeamCity server. I can still access http://<tc_server_ip>/guestAuth/ however when I put in http://<tc_server_ip>/guestAuth/cradiator.html?projectId=project39 or any other project id I get a 404 page.

Thanks for any help.