Add debug information to troubleshoot jenkins issues
Signed-off-by: Derek Straka <derek@asterius.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user