Re: Deploying an application from jenkins for test

2016-09-21 Thread tom
Achim,Thanks. I'm trying to use mvn, as it does seem the best option. If I can get it to do what I want though. What I'm trying to work out is how to ensure that I get exactly the bundle that's just been published, and nothing gets cached. I'm publishing SNAPSHOT builds to our artifactory

Re: Deploying an application from jenkins for test

2016-09-21 Thread Achim Nierbeck
Hi, usually I use maven as the "transport" it's a much better integration into the CI/CD pipeline. So what I've given you as sample is optimized for exactly this. regards, Achim [1] -

Re: Deploying an application from jenkins for test

2016-09-20 Thread tom
> you can use Pax Exam[1] for that and start Karaf embedded, this will give > you a clean state for every run. Initially I want to do it for testing, but I then want to deploy a "snapshot" and "release" version of the actual application for general internal demo use. I currently already have an

Re: Deploying an application from jenkins for test

2016-09-20 Thread Achim Nierbeck
Hi, you can use Pax Exam[1] for that and start Karaf embedded, this will give you a clean state for every run. The other way would be to have a Karaf with Jolokia running and deploy via JMX, I once created a sample for that [2]. regards, Achim [1] -