How to know builds are running from RTC?
I have a set of existing build scripts that are running in a ClearCase context. I'd like to update them in a way that the calls to ClearCase would be replaced by calls to the build toolkit ant tasks. However, the build scripts need to "know" that they are executing in a Jazz context instead of a ClearCase context.
So my question: is there an environment variable or a property that I can test against, which would reveal that the executing context is RTC? |
3 answers
I don't there is anything by default but you can add any kind of property
you want for your build definition that will then be defined in the ant build for you. Go to the Properties page in the build definition editor for your build definition. From there you can add a provide that will then be defined by the Jazz Build Engine when it executes your ant build script. Don Weinand Jazz Team Build "patrick.renaud" <patrick> wrote in message news:gi5oc0$sgb$2@localhost.localdomain... I have a set of existing build scripts that are running in a ClearCase |
Yes, I did that already. I created a property named is_fromRTC with a value of "yes" in the build definition. It works. But I was hoping for an internal property that I would not have to set myself...
|
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 15 '08, 2:58 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't know if there already is one, but if not, I assume it would be
easy to set one as part of your Jazz build definition. Cheers, Geoff patrick.renaud wrote: I have a set of existing build scripts that are running in a ClearCase |
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.