File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ PROXY=$(docker run -d -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-
18
18
PROXY_IP=$( docker inspect ${PROXY} | jq -r .[0].NetworkSettings.IPAddress)
19
19
20
20
# # give it all time to start up
21
- sleep 2
21
+ sleep 5
22
22
23
23
# # Test the website
24
24
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ node ('Docker') {
20
20
script : " docker inspect ${ MiServer.id} | jq .[0].NetworkSettings.IPAddress | sed 's/\" //g'" ,
21
21
returnStdout : true
22
22
). trim()
23
- sh " for F in `ls ${ WORKSPACE} /CI/test-*.sh`; do /bin/bash \$ {F} ${ DOCKER_IP} ; done"
23
+ sh " sleep 10 && for F in `ls ${ WORKSPACE} /CI/test-*.sh`; do /bin/bash \$ {F} ${ DOCKER_IP} ; done"
24
24
// ${WORKSPACE}/CI/test-pages.sh ${DOCKER_IP}"
25
25
MiServer . stop()
26
26
} catch (Exception e) {
You can’t perform that action at this time.
0 commit comments