It's all about the answers!

Ask a question

How do i create Build Definition using RTC CLI commands or API provided by IBM?


shruti gudagur (2811115) | asked Sep 02 '14, 1:50 a.m.

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



permanent link
Ralph Schoon (63.1k33645) | 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.

permanent link
Shashikant Padur (4.2k27) | answered Sep 02 '14, 2:38 a.m.
JAZZ DEVELOPER
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

Your answer


Register or to post 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.