Cruise Multiple Agents on one machine – ThroughtWorks Cruise

This week I’ve been working on the setup of our CI Server for the latest project. We’ve decided to trial Cruise (ThroughtWorks).

Although today I hit a problem when I want to install to Cruise Agents on one machine this is what the official documentation stated:

image

which isn’t much use if your sever reboots or your account logs out.

There is another way, now before we get into the solution I must confess I didn’t come up with the solution the guy that told me (Michael Wag) only new because he was told by someone else……..

Solution: Using the Java Wrapper

Step 1 : Copy the agent file.
Step 2: Change the name of each agent within the wrapper-agent.conf file this will be located in \Cruise Agent\config\wrapper-agent.conf

image below shows where in the file to change the name

.clip_image002

Step 3:  run the cruisewrapper.exe –i config\wrapper-agent.conf

clip_image004

Step 4: Go to service and check both agents are register and running.
Step 5: Sit back and watch your builds pass (ideal situation, in my experiences setting up a CI server is a roller coaster ride of emotions!)
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: