Add debug information to troubleshoot jenkins issues

Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
Derek Straka
2017-11-03 11:27:50 -04:00
parent 5b1b95772e
commit 6965038dee
+7 -1
View File
@@ -1,8 +1,14 @@
#!/bin/bash -x
sudo fuser -m `pwd`/build
# Only attempt to unmount if the directory is already mounted
if mountpoint -q `pwd`/build; then
sudo umount build
sudo umount `pwd`/build
fi
sudo fuser -m `pwd`/build
ps -ef
exit 0