* Make the environment stripping be asciibetical so it's easier to know
where to insert new elements
* Add KEY as an environment variable base to be stripped from the
shipped logs
Change-Id: I46367ec36c44b5b29534fff7f86356e8b9abffcb
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
{
echo "build-url: ${build_url}"
} 2>&1 | tee -a "_build-details.log"
- env | grep -v -E "SSH|HUDSON|COOKIE|TOKEN|DOCKER|PASSWORD" | sort > "_build-enviroment-variables.log"
+ env | grep -v -E "COOKIE|DOCKER|HUDSON|KEY|PASSWORD|SSH|TOKEN" | sort > "_build-enviroment-variables.log"
# Print system info before collecting logs
touch "_sys-info.log"