Multiple CC Instances
Can you configure this to pull from multiple cruise control instances?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?You can't. If you need to do that, you can just run multiple instances and tile the windows.
1 person says
this answers the question
-
Inappropriate?I also would like to be able to connect to multiple cc instances. Tiling windows doesnt look very pretty, with borders and all. Fullscreen would look tons better ofcourse. Another option might be to be able to disable the borders and the buttons and text at the bottom, and set a fixed window position and size in the config.
-
Someone sent in a patch a couple of days ago that will support multiple projects. You can find it at http://code.google.com/p/bigvisiblecr... (it hasn't been reviewed or applied to the trunk) - that might get you what you need. -
I can see an issue regarding it with the "WontFix" status, thats all. Where can I find the patch? (Im a tad new to google code) -
It looks like I forgot to upload it. Oops. Sorry about that. I'll get it uploaded and post the link back here. -
http://code.google.com/p/bigvisiblecr... has the patch. Sorry about that. -
Inappropriate?I wrote a quick script to combine the XML files and it seems to work really well.
-
Inappropriate?Also had that idea, not sure how to implement it the easiest way though. Care to share how exactly you implemented it? Maybe share the script?
Also, for those who might be interested, im looking into viewing build status from a TeamCity server, modifying the externalStatus.jsp file to expose a CC type xml format for Big Visible Cruise to read. -
Awesome. It would be nice to have an option to see TeamCity status with BVC. -
This is the externalStatus.jsp file iv done so far. It works, but there are a few things missing. Basically, the activity, and date and times attributes is not updated from TeamCity. Place the file in C:\TeamCity\webapps\ROOT\status and pointing BigVisibleCruist to http://teamcity:8081/externalStatus.html to try it out.
<%@ include file="../include-internal.jsp" %>
<projects>
<c:foreach>
<c:foreach>
<c:set value="${buildType.lastChangesFinished}" />
<c:set value="Unknown" />
<c:if>
<c:set value="Success" />
</c:if>
<c:if>
<c:set value="Failure" />
</c:if>
<project name="${project.key}" />
</c:foreach>
</c:foreach>
</projects>
(Hmm, somehow the code above doesnt format correctly...) -
Inappropriate?Here is my php code
<?php // Array of cctray.xml locations
$cctray_locations = array(
"http://example.com:8080/dashboard/cctray.xml",
"http://example.com:7070/dashboard/cctray.xml",
);
$xml = "";
for( $x = 0; $x < count($cctray_locations); $x++ )
{
// get the xml
$current_xml = file_get_contents($cctray_locations[$x]);
if( $x != 0 )
$current_xml = str_replace('<project>', '', $current_xml);
if( $x != count($cctray_locations)-1 )
$current_xml = str_replace ('</projects>', '', $current_xml);
$xml .= trim($current_xml);
}
// remove all xml headers
$xml = str_replace ('<?xml version="1.0" encoding="UTF-8"?>', '', $xml);
echo $xml; -
Thanks for the script. We dont use php here. yet. Not sure how we'll do this..
Loading Profile...




EMPLOYEE