File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3838 --health-interval 30s
3939 --health-timeout 5s
4040 --health-retries 5
41- --health-cmd "curl -f http://localhost:8000/en-US/account/login || exit 1"
4241 --name splunk
4342 ports :
4443 - 8000:8000
@@ -85,10 +84,10 @@ jobs:
8584 # npm install
8685 - name : Wait for Splunk Web UI to be fully ready
8786 run : |
88- echo "Waiting for Splunk Web UI at http://localhost :8000/en-US/account/login"
87+ echo "Waiting for Splunk Web UI at http://$SPLUNK_IP :8000/en-US/account/login"
8988 # Try for up to 60 * 5 = 300 seconds (5 minutes)
9089 for i in $(seq 1 60); do
91- if curl -s -f http://localhost :8000/en-US/account/login; then
90+ if curl -s -f http://$SPLUNK_IP :8000/en-US/account/login; then
9291 echo "Splunk Web UI is ready!"
9392 exit 0
9493 fi
@@ -137,3 +136,4 @@ jobs:
137136 reporter : java-junit
138137 working-directory : test
139138 fail-on-error : false
139+ fail-on-empty : false
You can’t perform that action at this time.
0 commit comments