You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today single repo docs (tir/dtr) are put into the json tree that represent the project.. this has two major drawbacks:
We cannot dump the tree into the overall docs where it would belong, as the bytes are still there and
we reinvent jenkins std functionality.. namely 'stash
So rather than putting byte[] into the Project json structure we should put in the names of the docs we stash and use that to generate the overall reports..
Today single repo docs (tir/dtr) are put into the json tree that represent the project.. this has two major drawbacks:
So rather than putting byte[] into the Project json structure we should put in the names of the docs we stash and use that to generate the overall reports..
References:
Byte[] into Structure: https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/src/org/ods/orchestration/usecase/LeVADocumentUseCase.groovy#L1143
Overall.. byte [] out of Structure: https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/src/org/ods/orchestration/usecase/DocGenUseCase.groovy#L83
Finalize.. toString() contains the byte[] : https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/src/org/ods/orchestration/FinalizeStage.groovy#L65
If we remove the document byte[] before the overall doc creation.. it will fail
The text was updated successfully, but these errors were encountered: