Save the temp repo load in a tmp folder

This commit is contained in:
Dan Hawkins 2018-11-23 22:32:50 +00:00
commit dcbf2c6e11

View file

@ -4,7 +4,7 @@ vc = load("${autobuilder.commonscripts()}/versioncontrol/git.groovy")
// Prove the existence of the release repo - otherwise there is a large wait to cycle the build to correct the meta data // Prove the existence of the release repo - otherwise there is a large wait to cycle the build to correct the meta data
def registerrepo(meta, String releaserepo) { def registerrepo(meta, String releaserepo) {
if (releaserepo?.trim()) { if (releaserepo?.trim()) {
vc.gitCheckout(releaserepo, "origin/master", "meta/releaserepo") vc.gitCheckout(releaserepo, "origin/master", "tmp/releaserepo")
} }
meta.releaseinfo.set(releaserepo) meta.releaseinfo.set(releaserepo)
} }