It's all about the answers!

Ask a question

Question about promoting snapshot during post deliver


Karthik Krishnan (859391133) | asked Aug 26 '13, 3:59 a.m.
retagged Aug 27 '13, 6:32 p.m. by Te-Hsin Shih (2854)
We want to promote the snapshot from build workspace to Stream after the build has completed. We were experimenting with the "post deliver" in builds. This worked fine but when the components are locked, the build fails during promotion of the snapshot

My questions are
1. How can we make the build not report failure in this case? 
2. In the logs, we can see that if the build is as "Jazz-Admin" the promotion might work even if the components are locked. Is this the only way?
3. Are there any alternatives?

We are using RTC 4.0.2

 

Comments
Te-Hsin Shih commented Aug 27 '13, 6:36 p.m.

Why is the component locked?


Karthik Krishnan commented Aug 28 '13, 9:37 a.m.

to avoid further change sets during integration.  


Geoffrey Clemm commented Aug 29 '13, 11:47 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

How does one "lock" a component?   The only RTC-SCM "lock" that I'm aware of is the lock that you can place on a file in a particular stream.

Accepted answer


permanent link
Tim Mok (6.6k38) | answered Aug 28 '13, 9:45 a.m.
JAZZ DEVELOPER
I don't see how you would get around this because that's what a lock does. Unless the build user is the one obtaining the locks then nobody else can modify the component unless you are an admin that can break the locks.
Karthik Krishnan selected this answer as the correct answer

Your answer


Register or to post your answer.