In Xcode [Server] 5.x when creating a bot we were able to specify which branch to check out for the remote when building. How could you achieve the same results in Xcode 6? The options don't seem to be available within Xcode when creating the bot, or from the browser when viewing it on the web.
After a some investigation it appears the only obvious way to select a different branch for a bot is to have that branch checked out at the time the bot is created. This can be done from within Xcode:
Source Control > [your project name] > Switch to Branch
After which you can create your bot which will check out this branch when integrating.
I really don't like this behaviour and have to assume there's a workaround for this
In Xcode 7 you can now select the branch.
In Xcode 5 and 6 you can add the following to a "Before Integration" script.
git checkout NameOfYourBranch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With