From: Thanh Ha Date: Wed, 6 Jul 2016 00:30:24 +0000 (-0400) Subject: Print out environment variables to file X-Git-Tag: v0.0.6~21 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F4085%2F1;p=releng%2Flftools.git Print out environment variables to file The environment variable list could be useful in troubleshooting so paste it out at the end of the build. Change-Id: Ibf3abed0f71c73269aa077ebe9dd7ea8bc35faad Signed-off-by: Thanh Ha --- diff --git a/include-raw-deploy-archives.sh b/include-raw-deploy-archives.sh index 572e2cb0..5b90f1df 100644 --- a/include-raw-deploy-archives.sh +++ b/include-raw-deploy-archives.sh @@ -54,6 +54,7 @@ mkdir -p $ARCHIVES_DIR mv $WORKSPACE/archives/ $ARCHIVES_DIR > /dev/null 2>&1 touch $ARCHIVES_DIR/_build-details.txt echo "build-url: ${{BUILD_URL}}" >> $ARCHIVES_DIR/_build-details.txt +env > $ARCHIVES_DIR/_build-enviroment-variables.txt # Magic string used to trim console logs at the appropriate level during wget echo "-----END_OF_BUILD-----"