IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
40 stars 123 forks source link

Issue in DBB User Build after enabling cobol_storeSSI #477

Closed lauren-li closed 4 months ago

lauren-li commented 4 months ago

After enabling ‘cobol_storeSSI=true` in DBB User Build, the build ended up in error:

Further analysis found that the IDENTIFY statement is exceeding 71 characters in this case.

dennis-behm commented 4 months ago

Hi @lauren-li,

storing the abbreviated hash in a user build scenario is not supported, because the User Build operates outside of of git repository.

Looking at the implementation, the section about the SSI is not executed on User Builds.

https://github.com/IBM/dbb-zappbuild/blob/dd59b05112791ef1ea5fc710d821cb214b90142d/languages/Cobol.groovy#L301

Would you mind to have another look to your implementation, please?

dennis-behm commented 4 months ago

@lauren-li,

I think I am confused. Issue title talks about SSI, but you also talk about the IDENTIFY, which is another path.

However, this is also not executed on User Builds :

https://github.com/IBM/dbb-zappbuild/blob/dd59b05112791ef1ea5fc710d821cb214b90142d/utilities/BuildUtilities.groovy#L850-L859

lauren-li commented 4 months ago

Thanks @dennis-behm for your reply! Upon closer investigation, the issue causing the error is not SSI, but rather the IDENTIFY statement, which you have opened issue #479 for. Thus, I will close this issue (#477) and we can continue addressing the error via issue #479.