Rather than check out a release repo to see if it exists or not use git ls-remote to establish if it exists

This commit is contained in:
Dan Hawkins 2019-05-03 15:15:34 +01:00
commit c13ba0d628

View file

@ -124,7 +124,7 @@ def checkRepoExists(String gitURL) {
returnStatus: true
)
} else {
result = bash( script: """
result = bat( script: """
git ls-remote "${gitURL}" CHECK_GIT_REMOTE_URL_REACHABILITY
if errorlevel 1 EXIT /b 1
""",