It's all about the answers!

Ask a question

rebuild from previous id


William Lacy (3136) | asked Jul 28 '14, 7:22 a.m.
Hi guys

I have a build pipeline on my current project. The last step is an integration build. We tag certain builds, when they are ready to be promoted (end of sprint / release). When we want to promote these builds to a higher environment, it Performance / Production, we need to rebuild the source at that point in time, but with a given environment paramater, which creates an envrionment specific deployable. 

I want to have a build that will take a build id/label/tag from another build (integration test) as a parameter. I would need this to check out the codebase at this point, and create a build.

Unfortunately, we have to create a new  build for each environment due to a dependency on third party software. 

Is this achievable with RTC...? What would you recommend.

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Jul 29 '14, 5:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
William,

as long as you have an indicator for the builds you want to run again, you can probably do that. There are several questions about chaining builds that probably touch similar areas.

In any case, you can use the API to query for build results and request a new build. If the builds are public, the build results contain information such as snapshots and build properties. You also have the SCM command line interface and the Build System Toolkit ANT tasks available.

I don't know how easy it will be. Here an entry point into the API: https://jazz.net/library/article/807 .  If you are not familiar with the API I'd suggest to start here:
  • https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
  • https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/

 

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.