How do i create Build Definition using RTC CLI commands or API provided by IBM?
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
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.
https://jazz.net/library/article/1229 shows also classes related to this. I have no complete example unfortunately.