Check for changes occurring
This commit is contained in:
parent
419dc72545
commit
d449e458f2
2 changed files with 6 additions and 2 deletions
|
|
@ -624,6 +624,10 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
return releasemetauniquecollection
|
||||
}
|
||||
|
||||
MetaInfo getNewMetaObject(script) {
|
||||
return new MetaInfo(script)
|
||||
}
|
||||
}
|
||||
|
||||
MetaInfo metareset(script) {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ def summaryappend(String summary) {
|
|||
}
|
||||
|
||||
def getpreviousreleasemeta(buildmeta, String checkoutfolder) {
|
||||
def previousreleasemeta = new metascript.MetaInfo(this)
|
||||
def previousreleasemeta = buildmeta.getNewMetaObject(this)
|
||||
// See if there is meta data file from the current release
|
||||
def String releasemetafolderpath = "${checkoutfolder}/${buildmeta.folder()}"
|
||||
if (fileExists(releasemetafolderpath)) {
|
||||
|
|
@ -49,7 +49,7 @@ def getpreviousreleasemeta(buildmeta, String checkoutfolder) {
|
|||
def checkoutreleaserepo(buildmeta, String checkoutfolder) {
|
||||
def String releaserepo = buildmeta.releaseinfo.releaserepoURL
|
||||
// Get the latest head revision of the release repo without checking out working copy; Check out to a folder unique to component; Extract any meta
|
||||
def previousreleasemeta = new metascript.MetaInfo(this)
|
||||
def previousreleasemeta = buildmeta.getNewMetaObject(this)
|
||||
dir(releaserepofolder) {
|
||||
sh("git clone --depth 1 ${releaserepo} ${checkoutfolder}")
|
||||
previousreleasemeta = getpreviousreleasemeta(buildmeta, checkoutfolder)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue