Add more difference infrastructure

This commit is contained in:
Dan Hawkins 2019-07-06 23:57:39 +01:00
commit 4a796b33ab

View file

@ -101,6 +101,7 @@ def showmetaitems(metaitems) {
def checkoutsourcerepo(buildmeta, String checkoutfolder) {
def String sourcerepo = buildmeta.gitinfo.remoteurl
echo "Updating source repo: ${sourcerepo} in folder: ${checkoutfolder}"
if (sourcerepo) {
// Get the latest revision of the source repo without checking out working copy; Check out to a folder unique to component
if (fileExists(checkoutfolder)) {