Need to dynamically add depencies to a running build

We have a highly data driven build system that triggers configs based on the input params provided.

Because of that we can't use snapshot depencies.

What I was hoping to do in a plug would be to add to the parent build the children it has triggered so it shows up as depenencies in the UI and in the rest data.

But from what I can tell I can't just add to the Dependencies off the build promotion.

runningBuild.getBuildPromotion().getDependencies().add()

1 comment
Comment actions Permalink

Hi, you can't update build dependencies (see https://youtrack.jetbrains.com/issue/TW-44985)

Could you please tell us a bit more about your scenario?

 

0

Please sign in to leave a comment.