It's all about the answers!

Ask a question

how to promote snapshots from build workspace to stream


Karthik Krishnan (8594101152) | asked Oct 20 '11, 9:24 a.m.
Hello,

When ever the build runs, it creates a snapshot on the build workspace

i would like to know if the following is possible

1. Is it possible to have the name of the snapshots configured?
2. How can the snapshot be promoted (automatically if possible) form build workspace to Stream


We are using RTC 3.0.1 + Windows

Thanks
Karthik Krishnan

2 answers



permanent link
Brent Ulbricht (2.5k11) | answered Oct 20 '11, 3:01 p.m.
JAZZ DEVELOPER
Hello,

When ever the build runs, it creates a snapshot on the build workspace

i would like to know if the following is possible

1. Is it possible to have the name of the snapshots configured?
2. How can the snapshot be promoted (automatically if possible) form build workspace to Stream


We are using RTC 3.0.1 + Windows

Thanks
Karthik Krishnan


Hi,

1. There is an open enhancement request to specify snapshot name format.
2. This is an article about the Post-Build Deliver feature that might work for you.

Brent Ulbricht
RTC Build Lead

permanent link
Karthik Krishnan (8594101152) | answered Oct 21 '11, 4:13 a.m.
Thanks Brent

I tried Post-Build Deliver.

I am using ANT script. In that I have a task "completeTeamBuild" and "completeBuildActivity"
If have these options the Post-Build option throws error. When I comment this the Post build works.

The build workspace I have takes the latest from Stream and starts the build. I was under the impression that it could be possible to promote / move the snapshot from workspace to the stream.

But the Post build option does not work as it updates same component and create baselines which is unnecessary in my case

I then figured out that changing the owner the build workspace to the stream moves the snapshot to stream

Can this be automated in ANT? Setting owner to Stream



Hi,

1. There is an open enhancement request to specify snapshot name format.
2. This is an article about the Post-Build Deliver feature that might work for you.

Brent Ulbricht
RTC Build Lead

Your answer


Register or to post your answer.