Print out environment variables to file 85/4085/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 6 Jul 2016 00:30:24 +0000 (20:30 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Mar 2017 19:13:26 +0000 (14:13 -0500)
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 <thanh.ha@linuxfoundation.org>
include-raw-deploy-archives.sh

index 572e2cb..5b90f1d 100644 (file)
@@ -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-----"