From d943695e73a8b14f2a064b8ffdb690ef183a8b78 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Fri, 8 Sep 2017 14:16:31 -0700 Subject: [PATCH] Re-order log ENV stripping and add new key * 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 --- shell/deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/deploy b/shell/deploy index 9bbf7208..4fe12df9 100755 --- a/shell/deploy +++ b/shell/deploy @@ -213,7 +213,7 @@ deploy_logs() { { 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" -- 2.16.6