Commit 48c7cc76 authored by joonas lume's avatar joonas lume
Browse files

Fix healthcheck IP

parent 3553fba9
......@@ -137,7 +137,7 @@ pipeline {
steps {
script {
ssh_build_cmd = '''
elasticsearchHost="http://localhost:9200"
elasticsearchHost="http://${NODE}:9200"
echo "Elasticsearch health check on ${HOSTNAME}:"
n=0
until [ "$n" -ge 60 ]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment