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

rebuild from previous id

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.

0 votes



One answer

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

 

0 votes

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,019

Question asked: Jul 28 '14, 7:22 a.m.

Question was seen: 3,182 times

Last updated: Jul 29 '14, 5:06 a.m.

Confirmation Cancel Confirm