Check for incomplete builds when releasing

This commit is contained in:
Dan Hawkins 2021-10-15 12:29:55 +01:00
commit 7b036676b6

View file

@ -424,6 +424,7 @@ def releasehierarchy(buildmeta, String maxdepth, String otherreleasetags, String
}
for (key in componentReleaseInfo.keySet()) {
def buildinfo = componentReleaseInfo[key]
echo "${key}: ${buildinfo.jenkinsbuildinfo.isFullBuild()}"
if (!buildinfo.jenkinsbuildinfo.isFullBuild()) {
error "The subcomponent: ${buildinfo.componentidentifier()} is not a full build (Some artifacts are missing)"
}