Skip to content

Instantly share code, notes, and snippets.

@DanPurdy
Created April 7, 2016 01:26
Show Gist options
  • Save DanPurdy/b6fbbb0a74e0ea78c431b24515db6fe0 to your computer and use it in GitHub Desktop.
Save DanPurdy/b6fbbb0a74e0ea78c431b24515db6fe0 to your computer and use it in GitHub Desktop.
Checks to see if our test reports directory exists, if it does it removes it.
cd ${bamboo.build.working.directory}
if [ -d "test-reports" ]
then
echo "Test Directory exists - Deleting"
rm -r test-reports
echo "Done"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment