It's all about the answers!

Ask a question

RTC Build Engine and Deployment


Lawrence . (59512) | asked Nov 20 '14, 5:29 a.m.
On behalf of one of our customer:
-----
Hello,

We are trying to automate the deployment of applications using Jazz Build Engine. From our understanding RTC is able to build an application but is unable to deploy it. But using additional tasks inside a ant script we can deploy applications. We are able to build and deploy applications as a "whole" but our problem is handling
database objects or deploy specific objects.

Does RTC provide any way to deploy single application objects from the stream instead of the whole application?

Example:
I have a web application and I want to deploy a "hello.html" file (which doesn't need to be compiled) is there any way to deploy just this file and not whole application?

I haven't tried Urban Code, is it possible that urban code provides this functionality?

Using a "package" approach, assuming that a change set represents a package. Is there a way when promoting/deliver a change set to a stream, RTC will deploy the items associated with it?

Example:
Sql files associated to a change set, while promoting/deliver the change set, the sql files would be deployed and ran on a remote machine.

(Using CLM 4.0.6.)

Thank you.
-----

Accepted answer


permanent link
Ralph Schoon (63.3k33646) | answered Nov 21 '14, 6:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This question has been discussed here, recently.

My bottom line:
  1. RTC does not have anything built in to automate that.
  2. You can use your own code to do it in a build script e.g. using ANT and use EXEC or other ant tasks to run your own scripts or programs
  3. There are dedicated tools that IBM provides, to automate the process, with integration to RTC.
Lawrence . selected this answer as the correct answer

One other answer



permanent link
Lara Ziosi (33811112) | answered Nov 21 '14, 8:52 a.m.
Let me take a stab at the UrbanCode Deploy side of the question.

UrbanCode Deploy has a concept of Application (you can think of an EAR)  that references one or more Components (think of a WAR), and what you deploy are sets of Component Versions. A version can be either Full or Incremental.
For the case where you want to deploy just the changed html file, you'd want to use an Incremental Version.

UrbanCode Deploy has plugins to target deployment to many different Application Server types.

If using WAS for example, you'd have  a step called Update Application:

https://developer.ibm.com/urbancode/plugindoc/ibmucd/application-deployment-websphere-plug/74-2/steps/#update_application

It also has plugins to work with many different Database types. The DBUpgrader plugin for instance is used to make subsequent changes to databases:

https://developer.ibm.com/urbancode/plugin/ibm-urbancode-deploy-dbupgrader-ibmucd/

You can check the complete UCD plugin list from here:

https://developer.ibm.com/urbancode/plugins/ibm-urbancode-deploy/

You can move artifacts from RTC to UCD in various ways:

1. Use the built-in Post Build Deploy (available from RTC 4.0.5 onwards)

http://sudhakarf.wordpress.com/2013/10/30/old-dog-new-trick-rtc-and-urbancode-deploy/

https://developer.ibm.com/urbancode/plugin/rational-team-concert-build/

2. Use a custom UCD script leveraging the udclient. Main methods you need to call are: create version and add files to version

3. Use the Rational Team Concert Source Config type

https://developer.ibm.com/urbancode/plugin/rational-team-concert-scm/

For questions specific to UCD, you can use this forum:

https://developer.ibm.com/answers/smartspace/urbancode/

Thank you and regards, Lara

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.