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
9af654fb28
commit
a42acef027
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ def checkRepoExists(String gitURL) {
|
|||
)
|
||||
}
|
||||
if (!result) {
|
||||
echo "git ls-remote return result: ${result}"
|
||||
error("The release repo: ${gitURL} cannot be found. Please ensure this exists before building")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue