#!/bin/bash -x

# Only attempt to unmount if the directory is already mounted
if mountpoint -q `pwd`/build; then
    sudo umount build
fi

exit 0

#!/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 `pwd`/build
fi

sudo fuser -m `pwd`/build

ps -ef

exit 0

Add debug information to troubleshoot jenkins issues
Add debug information to troubleshoot jenkins issues

Signed-off-by: Derek Straka <e1c79a582b6629e6b39e9679f4bb964d25db4aa8@asterius.io>
