Skip and echo out gzip log compression error
Sometimes gzip log collection will fail because certain linked log file are missing. This change notice those error and let the test pass Change-Id: I0720460dba3ec959429b577017713e1d5a209337
This commit is contained in:
parent
4bb840d2de
commit
6c800b5170
|
@ -205,6 +205,6 @@ done
|
|||
|
||||
# Compress the files gathered so that they do not take up too much space.
|
||||
# We use 'command' to ensure that we're not executing with some sort of alias.
|
||||
command gzip --force --best --recursive "${WORKING_DIR}/logs/"
|
||||
command gzip --force --best --recursive "${WORKING_DIR}/logs/" || echo 'Note: gzip log files failed'
|
||||
|
||||
echo "#### END LOG COLLECTION ###"
|
||||
|
|
Loading…
Reference in New Issue