Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion x-pack/plugins/apm/e2e/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ APM_IT_DIR="./tmp/apm-integration-testing"

cd ${E2E_DIR}

KIBANA_VERSION=$(node -p "require('../../../package.json').version")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a better way to get the stack version?


#
# Ask user to start Kibana
##################################################
Expand Down Expand Up @@ -63,7 +65,8 @@ fi

# Start apm-integration-testing
echo "Starting docker-compose"
${APM_IT_DIR}/scripts/compose.py start master \
echo "Using stack version: ${KIBANA_VERSION}"
${APM_IT_DIR}/scripts/compose.py start $KIBANA_VERSION \
--no-kibana \
--elasticsearch-port $ELASTICSEARCH_PORT \
--apm-server-port=$APM_SERVER_PORT \
Expand Down