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.
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
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
My RTC server is 3.0.1 but my local client is 3.0, it should work, shouldn't it?
<echo>
Some Build Debugging info
The activityId is defined as ${activityId}
The buildRequesterUserId is ${buildRequesterUserId}
personalBuild is ${personalBuild}
</echo>
and in the log I see
[echo] Some Build Debugging info
[echo] The activityId is defined as ${activityId}
[echo] The buildRequesterUserId is ${buildRequesterUserId}
[echo] personalBuild is true
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?
<echo>
Some Build Debugging info
The activityId is defined as ${activityId}
The buildRequesterUserId is ${buildRequesterUserId}
personalBuild is ${personalBuild}
</echo>
and in the log I see
[echo] Some Build Debugging info
[echo] The activityId is defined as ${activityId}
[echo] The buildRequesterUserId is ${buildRequesterUserId}
[echo] personalBuild is true
AFAIK
Have you tried from 3.0.1 client?