I'm hoping people might be kind enough to point me in the right direction with a Bamboo query I have, please.
The company I'm at has an existing Bamboo CI server that's running quite successfully (despite being an old version - 2.6) and I need to set up a new build. The two people who've done almost all of the previous Bamboo work have now left, and so I don't really have anyone internally to turn to for advice.
I was hoping I could describe the manual process, and then have someone suggest the best way to automate this.
Manual process (all on the Windows deployment server):
- Run "svn update --force" on six separate working directories, which in turn use two separate Subversion repositories
- Run "mvn clean install" on all six directories, with one of them needing an extra -Duser.timezone parameter passed in, and which sometimes needs running two or three times before it builds successfully
- Run a "DeployLocal.bat" batch file
- Start two JBOSS instances, by executing their "bin\run.bat" startup files
The batch file itself can be broken down into several steps:
- Do a Maven build of some of the projects (yes, redundant after the above)
- Copy some build subdirectories to the deployment server location
- Set up self-signed SSL certificates and keystores for the deployment servers
- Copy lots more files into the right place in the deployment server directories
I'm not sure how this best works with our Bamboo server. I started creating a new plan, but when it asked which repository to use (we're using two servers and six repositories) I started to get mightily confused!
If I understand correctly - which I may not - I believe that the normal thing to do would be to do all the building on the Bamboo server and then move files to the right place on the servers, before calling some remote startup command. Is this what I need to do here?
Even if someone can point me to a good guide to Bamboo, I'd be very appreciative. If someone can explain the concepts briefly enough for me to understand what specifically I need to learn to achieve, then that'd be even better!!
Advice much appreciated :)