Add some checking job scripts

This commit is contained in:
Dan Hawkins 2019-03-24 10:44:08 +00:00
commit d75c59e92a

View file

@ -47,14 +47,15 @@ def checkhierarchy(buildmeta, String maxdepth, String buildpathroot) {
resetfolders()
preconditions()
// Walk the meta information to a max depth, looking for components to release
// Walk the meta information to a max depth
def componentReleaseInfo = buildmeta.releasewalkerunique(md)
echo "Unique components:"
def String versioncomponent = ""
for (key in componentReleaseInfo.keySet()) {
def buildinfo = componentReleaseInfo[key]
def offsetpath = buildinfo.offsetpath
versioncomponent += "Key: ${key} Path: ${offsetpath}\n"
def abspath = "${buildpathroot}/${offsetpath}"
versioncomponent += "Key: ${key} Path: ${offsetpath} File exists in import: ${fileExists(abspath)}\n"
}
echo versioncomponent