Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there any document on RTC build and deploy automation with ant?

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

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

thanks for the reply.

where does it stage the build before it deploy?


Thanks

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.

Is there any other link?

Thanks





By Stage, do you mean where the result of the "Package" step is placed?

where does it store the package when we run the script ?I dont see any destination folder on your script

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.

what version of RTC are you using?I don't see package definition in 4.0.1.

Thanks

showing 5 of 7 show 2 more comments

One other answer

Permanent link
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:



	
	
	
	
	
	
		
	

	
	
	
		
		
		
		
		
		

		
		
	

	
		
		
		
		
		
		
		
		
		

		
	

	
	
		
		
		
		
		

		
		
		
		

		

		
	
	
	
	

0 votes

Comments

Did you install JBE on IBMi or windows?

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.

The Rational Build Agent is installed on IBMi and handles all the Dependency builds, package and deploy "builds"

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020
× 1,381

Question asked: May 07 '15, 8:36 a.m.

Question was seen: 4,596 times

Last updated: Jun 19 '15, 4:31 p.m.

Confirmation Cancel Confirm