Pushing build parameter up the chain

Hello,

I'm using TC 9.1.3. I have builds B1..BN that have a snapshot dependency on build A. Builds B* are derived from a build template and there are a lot of them. The template is not linked to Build A in any way. Build A dynamically creates a build parameter via service message when it runs. I'd like each Build B* to pick up the value of that parameter either as a newly created parameter during the build or by updating a parameter defined in the build template. Ideally, it is an env var parameter, but could be a config parameter. How can I do this? Thanks!

2 comments
Comment actions Permalink

Hi Oleg,

It is not possible to access dependent build configuration parameters dynamically created using service messages. Please vote for the related issue: https://youtrack.jetbrains.com/issue/TW-37749.
Currently you can create parameter in build configuration A (not using service messages) and dynamically set it's value during the build. In this case the parameter will be accessible from build configuration B*.

0
Comment actions Permalink

Hi Alina,

Thank you for the issue! I also opened https://youtrack.jetbrains.com/issue/TW-43004 that describes another related case.

0

Please sign in to leave a comment.