Add debug logging to CI scripts

Add debug logging to CI scripts.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
David Enyeart 2023-03-15 11:04:06 -04:00
parent 85fbbc0924
commit 125a436d49
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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