Starting/Stoping Elasticsearch with Gradle?


(Jonathan Aaron) #1

So I've added Elasticsearch 5.1.1 to my project. So my plan is to have Jenkins pull the repo down. Then it'll run a test task which should start elasticsearch, run integration tests(es queries), then stop. I feel starting elasticsearch should be easy to do within the gradle task, but I'm not so sure about stopping elasticsearch after the tests are done. What's the best way to handle that?

Thanks,

Jonathan


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.