diff --git a/ci/scripts/run-test-network-basic.sh b/ci/scripts/run-test-network-basic.sh index fdc3d088..966bcc8a 100755 --- a/ci/scripts/run-test-network-basic.sh +++ b/ci/scripts/run-test-network-basic.sh @@ -30,6 +30,9 @@ function stopNetwork() { ./network.sh down } +# print all executed commands to assist with debug in CI environment +set -x + # Set up one test network to run each test scenario. # Each test will create an independent scope by installing a new chaincode contract to the channel. createNetwork @@ -77,3 +80,5 @@ popd stopNetwork + +{ set +x; } 2>/dev/null diff --git a/ci/scripts/run-test-network-gateway.sh b/ci/scripts/run-test-network-gateway.sh index 3b3def77..3174816a 100755 --- a/ci/scripts/run-test-network-gateway.sh +++ b/ci/scripts/run-test-network-gateway.sh @@ -30,6 +30,9 @@ function stopNetwork() { ./network.sh down } +# print all executed commands to assist with debug in CI environment +set -x + # Set up one test network to run each test scenario. # Each test will create an independent scope by installing a new chaincode contract to the channel. createNetwork @@ -69,3 +72,5 @@ popd stopNetwork + +{ set +x; } 2>/dev/null