mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Add debug logging to CI scripts (#1007)
Add debug logging to CI scripts. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
97a400ea28
commit
efbecb6d10
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue