This post is from the XebiaLabs blog and has not been updated since the original publish date.
Continuous deployment with Atlassian Bamboo and XebiaLabs XL Deploy
Over the past five to ten years, continuous integration has become a no-brainer for every medium to large scale software development project. It's hard to imagine going back to not having every commit (or push) automatically trigger a build of the code and, most importantly, a test run of of the code. That test run will surely include unit tests, but setting it up to also run integration tests used to be harder. You'll need to automatically deploy the application to the target middleware environment and then run the integration tests against that environment. The XL Deploy plugin for the new 3.3 release of Atlassian Bamboo adds the enterprise-scale deployment capabilities of XebiaLabs XL Deploy to Bamboo. This allows you to speed up your development process by adding automated deployment to your continuous integration setup and make the the first step towards continuous deployment and continuous delivery. Instead of deployment being a bottleneck to your development process, it will be be an integrated part of it. You can test your application on the target platform as soon as possible, find any platform incompatibility and deployment issues early on, and, when it's time to deploy to the production environment, your deployment will be quick and reliable. So how does it work? Bamboo version 3.3 has introduced the possibiliy to define new tasks in a plugin. These tasks can be added to a job to define what happens when a build is triggered. To take care of the deployment automation, we use XL Deploy, an application release automation platform that can deploy to many different middleware systems such as IBM WebSphere, Oracle WebLogic, JBoss and Tomcat, Apache HTTPD, Oracle Database, DB2 and other SQL databases, etc. And finally we use the Bamboo XL Deploy plugin to take care of the integration between the Bamboo and XL Deploy. To get a demonstration of the possiblities, have a look at this video that shows Bamboo and XL Deploy working together to deploy to an Oracle WebLogic Server environment. Of course, the same can be done for any middleware supported by XL Deploy!After installing the Bamboo XL Deploy plugin, you can add the following tasks to any Bamboo job:
- Import a deployment package in XL Deploy
- Deploy an application with XL Deploy
- Undeploy an application with XL Deploy