How to checkin and deliver changes after build using ant target
Prashantha Kumari (3●5●11)
| asked Dec 12 '13, 7:01 a.m.
retagged Dec 13 '13, 11:07 a.m. by David Lafreniere (4.8k●7)
Hi,
I am looking for ant target for checkin and deliver the code back to RTC repository. We are running build through command line using ant script. Once build completes, it will generate one .zip file. we need to checking that .zip file back to RTC repository. Using Team fetch i am fetching the code from workspace and building the code. Please let me know how to checkin and deliver the code using ant target. If anyone knows about ant target for RTC checkin and deliver , please share the code . <mkdir dir="${java.io.tmpdir}/toolkittest" /> <teamFetch repositoryAddress="${repositoryAddress}" userId="${userId}" password="${password}" workspaceName="workspace1" buildResultUUID="${buildResultUUID}" destination="${java.io.tmpdir}/toolkittest" verbose="true" />Thanks in advance, Regards, Prashanthi. |
Accepted answer
As Sam suggested, you'll need the SCM CLI to checkin and deliver changes during a build. Here are some links to the 4.0.5 checkin and deliver commands.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m5/topic/com.ibm.team.scm.doc/topics/checkin.html http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m5/topic/com.ibm.team.scm.doc/topics/deliver.html Other release documentation links can be found here, http://www-01.ibm.com/support/docview.wss?rs=3488&uid=swg27012781 Scott Prashantha Kumari selected this answer as the correct answer
|
One other answer
Thanks Scott and Sam. I will try with SCM command only.
|
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
I don't think there is an ant task for deliver. I think you have to use the SCM commandline,