API to retrieve scheduled builds - build time
There are hundreds of builds definitions in RTC which are scheduled builds and we want to use API to retrieve the scheduled build time to know what time those builds are scheduled every day.
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Aug 29 '17, 7:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Don,
Don Yang selected this answer as the correct answer
|
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
Don,
I have fiddled some with Build / Build Definitions in Client API but not with the schedule in particular. So I will just write the generic approach I would use as a comment:
1. Go to RTC Eclipse Client
2. Open Build Schedule for a Build Definition
3. Use Shift+Alt+F1 to spy on what plugin classes are used
4. Alternatively use YARI
Once you have class names Java Search in a Workspace set up for RTC plugin development and you have a fairly good chance to find test classes utilizing that code and e.g. test the scheduler. This should give you a rough idea of the calls in question. Usually server side code looks somewhat similar but in this case might only be client side, since Eclipse is used for build scheduling.
Good luck hunting & I hope you get a more complete answer from sb else
Thanks Ulf for the comment.