How to deploy a Mule application with a Maven and Jenkins pipeline

how to guide

Mule applications and deployments can be fully managed using Maven. In the development phase, Anypoint Studio makes it easy to manage your application dependencies using Maven. For Deployment tasks, Mule provides a Maven plugin that helps automate the application deployment to different target runtime environments such as Standalone, CloudHub, ARM, Cluster, and more.

Automate your deployments with the Jenkins API

types of apis

The Jenkins build systemhas an open API which means we can do stuff with it. Today we’re going to automate the deployment of an application with a specific stable version.  Jenkins has a great UI, it’s very flexible indeed, but sometimes is not enough. For instance, for CloudHub we deploy a Jenkins build to our QA environment, according the period in our development cycle, and we also need to execute automated tests.