Add some checking job scripts
This commit is contained in:
parent
ec6d8e9e0e
commit
f68b924182
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue