Remove directories if they exist
This commit is contained in:
parent
82349ec933
commit
9f8202c8a9
2 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ set -e
|
|||
org="$1"
|
||||
repo="$2"
|
||||
|
||||
rm -r "$repo" || true
|
||||
|
||||
curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
|
||||
[ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH"
|
||||
[ -z "$curbranch" ] && curbranch=`"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue