RTC Ant Attribute Questions
I'm using 3.0.1.
1. Is there an attribute (or a way) to detect this is a personal build or not? 2. Is there an attribute (or a way) to detect if this is a scheduled build? 3. Is there a way to prevent users from requesting builds for certain build definitions? (i.e. I only want to allow scheduled builds for these build definitions). Thanks in advance. |
3 answers
1) Yes, the personalBuild property will be set to true for personal builds.
2) I don't see any properties, but you might be able to accomplish that via the buildRequesterUserId property, if you are using a functional ID assigned to automated builds. Requested builds from users should not be done using a functional ID. 3) I don't think so, for your sake, let's home I'm wrong. John Czukkermann IBM Corp. z/OS Management Facility Design and Development |
For some reason, I don't see buildRequesterUserID or activityID being set with some echo statement in my Ant build.xml. PersonalBuild does get set though.
My RTC server is 3.0.1 but my local client is 3.0, it should work, shouldn't it?
and in the log I see
|
For some reason, I don't see buildRequesterUserID or activityID being set with some echo statement in my Ant build.xml. PersonalBuild does get set though. AFAIK Have you tried from 3.0.1 client? |
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.