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:26:22 +01:00
commit a42acef027

View file

@ -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")
}
}