# How do add a third party plugin to integ test cluster before running tests?

**URL:** https://discuss.elastic.co/t/how-do-add-a-third-party-plugin-to-integ-test-cluster-before-running-tests/181094
**Category:** Elasticsearch
**Created:** [May 15, 2019, 4:25am UTC](https://discuss.elastic.co/t/how-do-add-a-third-party-plugin-to-integ-test-cluster-before-running-tests/181094 "2019-05-15T04:25:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kuruf](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@kuruf](https://discuss.elastic.co/u/kuruf)
#### Post date: [May 15, 2019, 4:25am UTC](https://discuss.elastic.co/t/how-do-add-a-third-party-plugin-to-integ-test-cluster-before-running-tests/181094/1 "2019-05-15T04:25:25Z")

</div>

I have a plugin I'm developing that relies on another person's plugin. I would like to add their plugin to the list of plugins installed on the integ test cluster in my gradle file. What's the best way to do that?

---

<div class="post-metadata">

### Author: ![kuruf](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@kuruf](https://discuss.elastic.co/u/kuruf)
#### Post date: [May 15, 2019, 3:51pm UTC](https://discuss.elastic.co/t/how-do-add-a-third-party-plugin-to-integ-test-cluster-before-running-tests/181094/2 "2019-05-15T15:51:32Z")

</div>

Also where would I find the most up to date information around using integTestCluster/integTestRunner?

---

<div class="post-metadata">

### Author: ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)
#### Post date: [May 15, 2019, 8:37pm UTC](https://discuss.elastic.co/t/how-do-add-a-third-party-plugin-to-integ-test-cluster-before-running-tests/181094/3 "2019-05-15T20:37:50Z")

</div>

It depends how you consume the other plugin. If it is in maven, you can use `mavenPlugin` like this:

```auto
integTestCluster {
    mavenPlugin 'mygroup:myartifact:1.0.0'
}

```

If the plugin is another project within your build, you can specify that project:

```auto
integTestCluster {
    plugin ':path:to:plugin'
}

```

Unfortunately those are the only two ways using the legacy ClusterFormationTasks that integ tests were built with, although you might be able to install a plugin from a file using `setupCommand`.

For up to date information, at the moment, you would need to follow the development in the elasticsearch repo, under buildSrc. There is a lot of great stuff happening there, which we intend to document for plugin developers, but there is no specific timeline.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 12, 2019, 8:38pm UTC](https://discuss.elastic.co/t/how-do-add-a-third-party-plugin-to-integ-test-cluster-before-running-tests/181094/4 "2019-06-12T20:38:08Z")

</div>

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