Skip to main content
DevOps Image

This post is from the XebiaLabs blog and has not been updated since the original publish date.

Last Updated Nov 13, 2011 — DevOps Expert

Continuously Deploy with Bamboo and XL Deploy

DevOps

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 and a test run of the code. That test run would have surely included unit tests, but setting it up to also run integration tests used to be difficult. You would have needed to automatically deploy the application to the target middleware environment and then run the integration tests against that environment.

What is XL Deploy?

XL Deploy offers the Enterprise one deployment automation platform to optimize the release of applications both to major middleware environments like IBM WebSphere, Oracle WebLogic, JBoss, Tomcat, and Liferay, as well as to cloud environments such as VMware, Red Hat, and IBM.

How does it work with Bamboo?

With Bamboo, you can define new tasks in a plugin. These tasks can be added to a job that defines 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 and databases. We then use the Bamboo XL Deploy plugin to take care of the integration between the Bamboo and XL Deploy.DevOps, Continuous DeliveryThe XL Deploy plugin for Bamboo adds the enterprise-scale deployment capabilities of XebiaLabs XL Deploy to Bamboo. By adding automated deployment to your continuous integration setup to speed up your development process, this plugin allows you to take the first step towards continuous deployment and continuous delivery. Instead of deployment congesting your development process, it will become an integrated part of it. You can test your application on the target platform as soon as possible and find any platform incompatibility and deployment issues early on. When it’s time to deploy to the production environment, your deployment will be quick and reliable. 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/Undeploy an application with XL Deploy
The most basic task is the import task. Add it to the build job of a project that delivers a DAR file (the XL Deploy “deployment archive” format that includes all the artifacts and configurations that are part of an application; you can use the Maven XL Deploy plugin to create DAR files) to automatically import that deployment package into XL Deploy. Take it one step further by adding the deploy task to your job to automatically deploy to a test environment. Then, add another task to test your application on that environment, e.g. by using JMeter or another functional testing tool. Of course, nothing is stopping you from deploying to the production environment instead of the test environment! Since you might not want every code change to trigger a deployment to the production environment, you can set up a separate Bamboo job that runs according to whatever schedule you want to run your continuous deployment with Bamboo and XL Deploy!

More from the Blog

View more
Jul 22, 2021

DevOps as a Service (DaaS): scaling digital transformation the right way

DevOps
When going through digital transformation, many organizations have dis ...
Read More
Jun 28, 2021

Smash through barriers to data availability, make analytics easier

DevOps
In DevOps, "data availability" often refers to a state where the app o ...
Read More
Jun 24, 2021

Strategies for DevOps adoption across teams

DevOps
Implementing DevOps is not merely a change in IT and it’s certainly no ...
Read More
Jun 10, 2021

Desilo DevOps: The power of bringing all your tools and data into one view

DevOps
When discussing value stream management (VSM), our resources talk a lo ...
Read More
Contact Us