How to checkin and deliver changes after build using ant target
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 .
Regards,
Prashanthi.
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
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
Comments
sam detweiler
Dec 12 '13, 7:51 a.m.I don't think there is an ant task for deliver. I think you have to use the SCM commandline,
1 vote