Hello All, I am in the process of setting up a Jenkins CI server to test my servicemix bundles. The bundles are mainly Camel routes that are web services and the tests expect to have the web services running to test them.
My questions are: - What are the best practices for deploying bundles from Jenkins to ServiceMix? Should I copy to the SMX deploy directory? Use the remote console to deploy? Are there any built in Jenkins plugins that I can use? Once I have a bundle built, I plan to deploy to SMX. After that, the next bundle I build will invoke some web services that have just been deployed to the SMX container in a unit test. Once all the builds are built, tested and deployed, I would like to undeploy all the bundles. This is because I don't want any of the unit tests I am running to complain about ports being unavailable since a service is already deployed to them. - What is the best way to go about undeploying? I supposed if I copied to the deploy directory, I can delete the bundles and restart SMX. I was also thinking I could issue a remote uninstall command. However in this case, I would need the bundle ID which I wouldn't dynamically have access to in Jenkins. I have been searching the internet and haven't found many good blog posting on using Jenkins with ServiceMix. Does any have any resources they can point me to or feedback on the approach I was thinking of using? Thanks, Yogesh -- View this message in context: http://servicemix.396122.n5.nabble.com/ServiceMix-bundles-and-Jenkins-CI-tp5713996.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
