Add skeletal meta differences script files
This commit is contained in:
parent
f70406e72b
commit
36224b7c86
3 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,9 @@
|
|||
|
||||
def comparehierarchy(meta, String earlymetafolder, String latermetafolder, String summaryfolder, int maxdepth) {
|
||||
def comparehierarchy(meta, String earlymetafolder, String latermetafolder, String maxdepth, String summaryfolder) {
|
||||
def int md = maxdepth.toInteger()
|
||||
|
||||
echo "Comparing product meta hierarchy from folders: ${earlymetafolder} and ${latermetafolder} to a depth of ${md}. Exporting summary to ${summaryfolder}"
|
||||
|
||||
def String summarystring = "No summary"
|
||||
def boolean markunstable = true
|
||||
def unstablereason = "No compare implementation yet"
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def comparator = load("${autobuilder.commonscripts()}/differences/dometahierarchy.groovy")
|
||||
(summarystring, markunstable, unstablereason) = comparator.comparehierarchy(meta, EARLYDIR, LATERDIR, SUMMARYDIR, MAX_META_DEPTH)
|
||||
(summarystring, markunstable, unstablereason) = comparator.comparehierarchy(meta, EARLYDIR, LATERDIR, MAX_META_DEPTH, SUMMARYDIR)
|
||||
if (markunstable) {
|
||||
env.unstablereason = unstablereason
|
||||
currentBuild.result = 'UNSTABLE'
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ def releasecomponent(toplevelbuildmeta, buildinfo, String otherreleasetags, Stri
|
|||
}
|
||||
|
||||
def releasehierarchy(buildmeta, String maxdepth, String otherreleasetags, String dryrunpush) {
|
||||
int md = maxdepth.toInteger()
|
||||
def int md = maxdepth.toInteger()
|
||||
resetfolders()
|
||||
preconditions()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue