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:
parent
d55d2a24c4
commit
c13ba0d628
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
""",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue