include the checkout logs in task result

This commit is contained in:
Mike McLean 2024-12-03 16:25:25 -05:00 committed by Tomas Kopecek
parent 51f5a4ebef
commit 9a6b666926

View file

@ -2056,9 +2056,14 @@ class BuildMavenTask(BaseBuildTask):
self.uploadFile(os.path.join(outputdir, relpath, filename),
relPath=relpath)
# Also include the logs already upload by BuildRoot
# Also include the logs already uploaded by BuildRoot
logs.extend(buildroot.logs)
# Also include the checkout logs (uploaded during checkout)
logs.append('checkout.log')
if self.opts.get('patches'):
logs.append('patches.log')
buildroot.expire()
return {'maven_info': maven_info,