Output result to file to be polled
This commit is contained in:
parent
4b4441390c
commit
c8934a07a0
@ -114,9 +114,9 @@ cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
function trapexit {
|
||||
exit_code=$?
|
||||
if [ $exit_code -eq 0 ]; then
|
||||
echo "Final result: Tests passed"
|
||||
echo "Final result: Tests passed" | tee ~/result.txt
|
||||
else
|
||||
echo "Final result: Tests failed"
|
||||
echo "Final result: Tests failed" | tee ~/result.txt
|
||||
fi
|
||||
|
||||
# Do not use 'exit' - bash will preserve the status
|
||||
|
Loading…
Reference in New Issue
Block a user