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-
1818PROXY_IP=$(docker inspect ${PROXY} | jq -r .[0].NetworkSettings.IPAddress)
1919
2020## give it all time to start up
21- sleep 2
21+ sleep 5
2222
2323## Test the website
2424
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ node ('Docker') {
2020 script: "docker inspect ${MiServer.id} | jq .[0].NetworkSettings.IPAddress | sed 's/\"//g'",
2121 returnStdout: true
2222 ).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"
2424//${WORKSPACE}/CI/test-pages.sh ${DOCKER_IP}"
2525 MiServer.stop()
2626 } catch (Exception e) {
You can’t perform that action at this time.
0 commit comments