I have a Bamboo agent on a Windows 7 machine. When I start the agent from the command line, my builds work fine. When I install the agent as a Windows service, the builds hang.
The build in question depends on an executable which is in the system PATH variable. When running Bamboo as a Windows service, it gets to the point where it needs to use that executable and the build hangs. I'm not sure if the agent is unable to find the executable in the PATH or if something else is wrong.
I've tried installing the service both with the local system account and with the same user as I used when running it manually. I get the same result each time.
It looks like the problem was actually Microsoft Word, which doesn't behave well in an automated environment. Even if the service is run as a user, Word will still run as the Local System account. The workaround is described here:
Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs