move start.log to directory

This commit is contained in:
Cory Bennett
2016-08-29 00:23:05 -07:00
parent c18d2140e4
commit e74c94b030
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -20,4 +20,3 @@ script:
cache:
directories:
- t/.maven-cache
- t/start.log
+1 -1
View File
@@ -19,7 +19,7 @@ RUNS docker run --detach -v $(pwd)/.maven-cache:/root/.m2/repository --name go-j
RUNS sleep 5
echo "# Waiting for jira service to be listening on port 8080"
docker exec -i go-jira-test tail -f screenlog.0 | tee start.log | grep -m 1 'jira started successfully' | sed 's/^/# /'
docker exec -i go-jira-test tail -f screenlog.0 | tee $(pwd)/.maven-cache/start.log | grep -m 1 'jira started successfully' | sed 's/^/# /'
# wait for healthchecks to pass, curl will retry 900 times over 15 min waiting
RUNS curl -q -L --retry 900 --retry-delay 1 -f -s "http://localhost:8080/rest/api/2/serverInfo?doHealthCheck=1"