How do i create Build Definition using RTC CLI commands or API provided by IBM?
![]()
Hello,
Are there any CLI options to create build definition?
We need to automate our process and reduce user configuration. Assuming We know all details required to create a build definition such as user credentails, server URI..etc..
Thanks in advance
|
2 answers
![]()
There is no rtc cli to perform build tasks.
You can use build ant tasks to start a build, get the result etc but I don't believe there is a way to create a build definition. Take a look at the following link for a list of build ant tasks: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Fr_ant-tasks.html
|
![]()
Ralph Schoon (61.6k●3●36●43)
| answered Sep 02 '14, 2:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can create build definitions using the Plain Java Clients Library API as far as I know. Please find several questions with potentially code examples here in the forums: https://www.google.de/search?q=api+build+definition+site%3Ajazz.net
https://jazz.net/library/article/1229 shows also classes related to this. I have no complete example unfortunately. |