jenkins: dump relevant configuration files from build environment
authorJustus Winter <justus@g10code.com>
Wed, 11 Jan 2017 11:32:45 +0000 (12:32 +0100)
committerJustus Winter <justus@g10code.com>
Wed, 11 Jan 2017 11:32:45 +0000 (12:32 +0100)
Signed-off-by: Justus Winter <justus@g10code.com>
misc/jenkins/bin/build.bash

index 72f18ab..09c7312 100755 (executable)
@@ -13,6 +13,14 @@ export PATH=/home/jenkins/bin:$PREFIX/bin:$PATH
 # Print the environment.
 env
 ulimit -a
+set +x
+for f in /etc/gcrypt/hwf.deny /etc/gcrypt/fips_enabled ; do
+  if [ -f "$f" ]; then
+    echo "=== $f ==="
+    cat -n "$f"
+  fi
+done
+set -x
 
 # Tweak the prefix we're installing this project into.  For gnupg-1.4
 # and friends.