Special editors for build definition properties?
Jeff Care (1.0k●38●33)
| asked Dec 12 '13, 1:01 a.m.
retagged Dec 12 '13, 9:57 a.m. by Scott Cowan (966●3●10)
The new & noteworthy for 4.0.5 had an intriguing image:
I'm interested specifically in the description for the runUnitTests property: this appears to be some sort of instruction for a custom field/editor for this property. Is this documented anywhere? My attempts at searching the web for anything turned up empty. |
Accepted answer
This comes from the Build Forge integration, where extra property types and modes that we don't support directly are represented as keywords in the description. This was a compromise done back in the first version of the BF integration, and hasn't been fixed since. We really should provide direct support for these in RTC Build core, and map the BF properties to those without overloading the (human readable) description.
See [CCM] Improve Build property types and validation (233470) and its child items.
RTC does have an extension point for different build property types. We've had a custom editor for workspace properties since RTC 1.0. In recent releases (since 4.0.2), we provided a custom one for these pulldown properties, to restrict the choice to the given values, but it's chosen implicitly if the description has PULLDOWN. There's no custom UI for defining such properties to begin with, so it's really only a partial solution.
Jeff Care selected this answer as the correct answer
Comments
Jeff Care
commented Dec 12 '13, 6:01 p.m.
Thanks Scott and Nick.
Agreed. Minimizing errors when requesting builds is important. Note that the (half-baked) feature above can be used by other kinds of builds, not just Build Forge builds.
It's also possible to validate choices early in the build script, and fail the build if any are found to be invalid, but this isn't nearly as nice as validating at request time.
|
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.
Comments
I believe this is a question for the enterprise team. I don't see that property in base RTC. I've added the "ee" tag.
The property itself is not interesting: what's interesting is the description of that property. That appears to be a very specific (and not particularly usefulto a human) format. It makes me think that the format is meant to be read & understood by RTC and presented in a specific manner to the user when requesting a build.
Ah right. This is all I could find in our doc, https://jazz.net/wiki/bin/view/Main/BuildDesignInfo#Extension_Point_Build_Property_E
The extension point is used twice here, /com.ibm.team.build.ui/plugin.xml, but I don't see "PULLDOWN {TRUE|FALSE}" anywhere. Maybe it is extended by the enterprise team. I'll get Nick to chime in.