Quickly Develop, Build, and Deploy Applications on IBM Cloud with DevOps services – Part 2

Share this post:

In my previous post, we discussed how, for development teams getting started with new cloud projects, whether they’re mobile, web, or IOT, setting up the needed resources, DevOps services and tools can take up a significant amount of time – time the delivery team could use being productive and innovative in their approach to continuous delivery of apps. In that post, I covered how to use a template to rapidly deploy an integrated DevOps toolchain that included tools from IBM, like Delivery Pipeline or DevOps Insights, as well as repositories from GitHub, testing tools from Sauce Labs, and so on.

In this post, we’ll talk about how you can create a DevOps toolchain in Bluemix using Bluemix Continuous Delivery if you’ve already built and deployed an application.

Creating a Toolchain from an existing application

 Creating an app from the Bluemix catalog

Let’s begin by creating a new app from the Bluemix catalog. I’ve chosen a Liberty for Java implementation, which will provision a highly composable, ultra-fast, ultra-light profile of IBM WebSphere Application Server designed for the cloud. I simply provide a name for my app, and Bluemix will provision the rest for me, including a sample app.

Create App

Create a new Cloud Foundry application

As soon as the provisioning is completed, I can view the running app in my browser.

Running app

Basic Hello World! Java app

In the menu, if I select Cloud Foundry apps, and choose my app from the list, I can view the app’s parameters, including runtime information, any service connections, and logs.

App Dashboard

App Dashboard for Java App

Enabling Continuous Delivery and DevOps toolchains

Scrolling down, I can also enable continuous delivery, which will create a new DevOps toolchain for this application, allowing me to put in place an agile software development workflow that not only increases the speed in which teams can deploy software and bug fixes, but also enables developers to build software that is more inline with customers’ requests and needs.

Enable Continuous Delivery

Enable Continuous Delivery

In this case, the provisioned toolchain will include a Git repository and issue tracker hosted on Bluemix by IBM, a full featured Web IDE based on Eclipse Orion, and an automated delivery pipeline. I simply need to click create to instantiate the toolchain.

Create Toolchain

Create Toolchain

Now that the toolchain is instantiated and configured, I can go ahead and modify it if desired by clicking the Add a Tool button that will take me to the integration catalog, which includes integrations with dozens of additional tools from IBM, open source or third party suppliers.

Provisioned toolchain

Provisioned toolchain

Modifying the Application

To see the pipeline in action, I can modify some code in the Web IDE. Here, I’m just changing the text of the welcome messaging in the java servlet.

Code Editor

Edit app code in Web IDE

After I commit the code into the Git repository, the pipeline will automatically redeploy the application. My default pipeline has just two stages – one that builds the application, and one that deploys it. You can have as many stages as you need for your application, for building, deploying and testing your application. In addition, within each state, multiple jobs can be run – for example, running code coverage or unit tests, or for security or functional testing.

Delivery Pipeline

Delivery Pipeline

Once the deployment is complete, the browser can be refreshed to see the updated application.

Updated App

Updated App


Bluemix Continuous Delivery makes it easy for you to quickly develop, build, and deploy applications on IBM Cloud. Bluemix Continuous Delivery provides a unified user interface, enabling you to easily manage your software development activities in one place. As shown in this article, it’s easy to add toolchains to existing applications, just by a click of a button.

You can get started using Bluemix Continuous Delivery for developing new software projects on IBM Cloud today. Learn more by reviewing the Toolchain information on the IBM Cloud Garage Method pages, and the Bluemix Continuous Delivery user guide documentation.

DevOps Evangelist

More How-tos stories
May 1, 2019

What’s Included in the IBM Cloud Developer Tools Version 2.2.0

I’m pleased to announce the latest version of IBM Cloud Developer Tools CLI, which contains some exciting new features.

Continue reading

April 26, 2019

Help Shape the Future of Cloud Foundry

Are you a Cloud Foundry user? If so, here's your opportunity to influence the future of Cloud Foundry with the 2019 user survey.

Continue reading

April 25, 2019

Develop in Public Cloud, Deploy Anywhere with IBM Cloud DevOps

In this article, we explore how to deploy multicloud apps developed with IBM Cloud Continuous Delivery to a network-accessible IBM Cloud Private installation.

Continue reading