It's all about the answers!

Ask a question

Creating dynamic build property

P. A. (1859) | asked Mar 18 '15, 2:19 p.m.

I'm working on RTC 4.0.6. Setting up a simple build using JBE. I'd like to create a property that can be passed to the build script. I need the value of the property to be dynamic because it should be current date when that property is used. How do I create a dynamic property like this?

One answer

permanent link
Lily Wang (4.9k714) | answered Mar 19 '15, 12:28 a.m.
If you request a build manually, you can edit the build properties when you request build. But if the build is started by schedule I don't think you can set the build property dynamically from RTC. However you can edit your build script to get the current date programmatically.

P. A. commented Mar 19 '15, 8:44 a.m.

Thank you Lily for your reply. I know I can manually edit the properties when requesting a build, but the goal is to schedule this build. That's why I needed a dynamic property.

I believe in Build Forge there are dot commands that can be used for creating dynamic properties, which then can be passed on to the build script. I wanted to keep the build script parameterized that way instead of making the build script choose always choose current date programmatically.

Lily Wang commented Mar 19 '15, 10:40 p.m.

I don't think the function is available in RTC now. There are some enhancement requests for the function:
Feel free to add comments in the enhancement requests.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.