Is there any document on RTC build and deploy automation with ant?
shobhan y (13●2●6)
| asked May 07 '15, 8:36 a.m.
retagged Jun 19 '15, 4:31 p.m. by Ken Tessier (841●1●7)
Hi All,
I am in the process of automating my deployment process using RTC and Urban code deploy.Is there any document how to build using ant and deploy through UCD ? Thanks |
Accepted answer
This link to the Jazz.net wiki contains an example of building with ant: https://jazz.net/wiki/bin/view/Main/AntBuild
While it doesn't discuss Urban code it does discuss the steps and provides worked examples. Ralph Schoon selected this answer as the correct answer
Comments thanks for the reply.
I couldn't find what I need in that link.Does it checkin ,deliver and stage the jars automatically or we need to define them.I don't see those steps anywhere in that link.
Morten Madsen
commented May 07 '15, 2:29 p.m.
By Stage, do you mean where the result of the "Package" step is placed?
shobhan y
commented May 07 '15, 2:51 p.m.
where does it store the package when we run the script ?I dont see any destination folder on your script
Morten Madsen
commented May 11 '15, 12:00 p.m.
That is defined in the Package definition in RTC. I just launch it from the ANT script.
Your build automation will have to create the required files during compilation and linking and then you will have to use other scripts or tools like UrbanCode to deploy them.
shobhan y
commented May 12 '15, 8:23 a.m.
what version of RTC are you using?I don't see package definition in 4.0.1.
showing 5 of 7
show 2 more comments
|
One other answer
The documentation for the ant tasks is here: https://www-01.ibm.com/support/knowledgecenter/SSYMRC_4.0.5/com.ibm.team.build.doc/topics/r_packagedeploy.html?lang=en
I've created a small basic script to automate build, package and deploy on IBMi. Nothing much, but at least it will build, pick up the build timestamp and do a package with this. Then it will deploy this package: Comments
shobhan y
commented May 08 '15, 12:06 p.m.
Did you install JBE on IBMi or windows?
Morten Madsen
commented May 12 '15, 5:39 a.m.
The JBE which runs the wrapper script runs on windows, but could easily run on IBMi. We plan to add build depending on WI status, and all this requires customized ANT plugins. It's easier for me to install these on Windows, so that's why we do so.
|
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.