|
@@ -275,6 +275,7 @@ pipeline {
|
|
sh '''#!/bin/bash
|
|
sh '''#!/bin/bash
|
|
# bash is needed so 'jobs -p' works properly
|
|
# bash is needed so 'jobs -p' works properly
|
|
# it also accepts setting inline envvars for functions without explicitly exporting
|
|
# it also accepts setting inline envvars for functions without explicitly exporting
|
|
|
|
+ set -x
|
|
|
|
|
|
run_tests() {
|
|
run_tests() {
|
|
[ -n "$TESTDEBUG" ] && rm= || rm=--rm;
|
|
[ -n "$TESTDEBUG" ] && rm= || rm=--rm;
|
|
@@ -324,7 +325,6 @@ pipeline {
|
|
# integration-cli second set
|
|
# integration-cli second set
|
|
TEST_INTEGRATION_DEST=3 CONTAINER_NAME=${CONTAINER_NAME}-3 TEST_SKIP_INTEGRATION=1 TESTFLAGS="-test.run Test(DockerSwarmSuite|DockerDaemonSuite|DockerExternalVolumeSuite)/" run_tests &
|
|
TEST_INTEGRATION_DEST=3 CONTAINER_NAME=${CONTAINER_NAME}-3 TEST_SKIP_INTEGRATION=1 TESTFLAGS="-test.run Test(DockerSwarmSuite|DockerDaemonSuite|DockerExternalVolumeSuite)/" run_tests &
|
|
|
|
|
|
- set +x
|
|
|
|
c=0
|
|
c=0
|
|
for job in $(jobs -p); do
|
|
for job in $(jobs -p); do
|
|
wait ${job} || c=$?
|
|
wait ${job} || c=$?
|