Skip to content

ElasticSearch

ElasticSearch is supported by continuousphp.

Specification

ElasticSearch containers are available for each activity in your build. To enable one of them, simply add the environment variable CPHP_SERVICE_ELASTICSEARCH with the desired ElasticSearch version as value to your pipeline configuration. Available versions are :

  • 6.2.4
  • 5.6.9

E.g. if you need ElasticSearch 6.2.4 in your Behat tests, go to the Testing Settings (step 2 of the Pipeline) and add the environment variable CPHP_SERVICE_ELASTICSEARCH = 6.2.4 to the Behat configuration.

Connecting to elasticsearch

Hostelasticsearch
Port9200