Running a deployment in RAF but want to get the built deployable binary from an RTC component
Code within source components in RTC are compiled and packaged using ant via a Build Engine and the resultant package is stored in a separate RTC component. A later step in the workflow calls for this built package to be deployed to a remote target, for this we use RAF.
A Rational Automation Framework deployment project is used but prior to deploying I need RAF to obtain the package from the RTC component. I could do this with a pre-step in RAF using the command line client for example, but since I am initiating the RAF deployment from an RTC build definition, is there no way of referencing the RTC source? I understand that needs a JBE but could I "daisy chain" build definitions? - I can't see how
Any thoughts or advice?
Many Thanks
Rob
A Rational Automation Framework deployment project is used but prior to deploying I need RAF to obtain the package from the RTC component. I could do this with a pre-step in RAF using the command line client for example, but since I am initiating the RAF deployment from an RTC build definition, is there no way of referencing the RTC source? I understand that needs a JBE but could I "daisy chain" build definitions? - I can't see how
Any thoughts or advice?
Many Thanks
Rob
Accepted answer
You can't chain together the builds in RTC, but you can access the Jazz Source Control participant variables in the Build Forge (RAF) build. By using those variables you can call the JBE as a one-shot run and get the source that way. The variables will be available in BF as team_scm_*. Just feed those variables into the JBE in a step and you will get what you need.