We're using Boxen (on OS X) for our build server setup but are having a hard time getting Bamboo to pick up the binaries it provides. Boxen provides a script that is to be sourced which adds the appropriate directories to the path but Bamboo won't pick those up. We've tried source the environment script in /etc/profile as well as ~/.profile but nothing seems to work.
What needs to be done to add the directories to Bamboo's path?
I wanted to setup the PATH for the entire machine, not just a single job. We use a configuration management tool which places our development tools in a specific location for all machines and wanted to make sure of the commonality for multiple projects too.
The struggle I had was that Bamboo was being started by launchd so none of the Bamboo user scripts were running (.bashrc, .profile, .bash_profile). Once I started editing the launch script in /Library/LaunchDaemons I was able to get it to work (although I did have to switch from /bin/sh to /bin/bash to get the Boxen environment script to source correctly)
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