Learn how to deploy Mule applications to CloudHub using Cloudhub deployer Jenkins plugin, and achieve continuous delivery and deployment.
Let’s be friends:
Comment (0)
Join the DZone community and get the full member experience.
We live in an age, Where DevOps and automation are becoming more and more necessary and important in projects. So uploading packages manually to servers or platforms is not feasible and salable when you work with architecture like micro-services. So to tackle this problem we need to implement Continuous Delivery and Deployment cycle in our project. In this post I will be showing you how to do exactly that with Mule applications.
After creating a basic Mule App, you might be wondering how to automate the process of deploying a Mule App to CloudHub. In this post, I will be introducing a Jenkins plugin(Github Repository) that I published recently that enables this use case.
How it is compared to other solution/tools available with Jenkins:
Mule-Maven plugin – With this approach you are tight coupling you build and deploy process and most of time its not good. And its hard to scale this approach when you have multi environment deployment and many applications to manage. This approach will not work if you just want to do deployment.
This approach will take time and effort to get working automation that meets your project requirement. The CloudHub Deployer plugin itself is built using same API why re-invent the wheel.
What we will accomplish here:
Jenkins release pipeline using both free style and pipeline script that automates your mule application deployment to CloudHub.
Prerequisites:
Go to Manage Jenkins -> Manage Plugins -> Click on « Available » tab -> search for « cloudhub deployer »(just cloudhub will also do) -> select the plugin and click on install.
Home
United States
USA — software Automate Deployment to CloudHub using CloudHub Deployer Plugin Jenkins