It's all about the answers!

Ask a question

Is it possible to publish properties to the Build Result?

Rafael Rezende (431723) | asked Dec 01 '14, 10:35 a.m.
There is a tab in the Build Definition where developers can input properties to their builds.
It works very well in RTC + Jenkins configuration. Builds (on the Jenkins side) don't even need to be parameterised to cope with that feature. The input properties will be shown nicely in the Properties tab of the Build Result.

What I want, however, is to be able to write properties back to the RTC Build Result (not to the Build Definition) during/after the build..
Writing them on logs/artifacts and publishing them to the Build Result is not that practical. It's possible also to "mask" them as an Activity and publish them in the respective tab.
Still, these are build properties generated on build-time, and they semantically belong to the "Properties" tab.

Is there any way to achieve that?

Accepted answer

permanent link
Nick Edgar (6.5k711) | answered Dec 01 '14, 10:48 a.m.
Hi Rafael, there is no way to update properties on a build after the fact, only when requesting the build can you override the properties specified in the build definition. I recommend using log contributions for this. It's also possible to add a custom kind of contribution and provide a UI extension to view its info, but that would involve writing some code.
Rafael Rezende selected this answer as the correct answer

Your answer

Register or to post your answer.