Anand Anand - 2 months ago 5
Groovy Question

Hudson Config for Mule (Cloudhub)

I am setting up a job in hudson to build maven based mule application on SVN , uploading to artifactory and then deploy it on cloudhub.

I am able to build project and upload it to artifactory but the problem is how to deploy it on cloudhub after that.

I have groovy post build plugin but not sure what script to write in it to proceed.

Is there anyone who could give me some pointers to proceed??
Thanks in advance


You should use mule-maven-plugin, it is the currently supported way to deploy to CloudHub via Maven. This a sample plugin configuration:

    <muleVersion>3.7.0</muleVersion>               <!-- This is the runtime version as it appears on the CloudHub interface -->

And remember to add this to your settings.xml so Maven can find the plugin: