Question about promoting snapshot during post deliver
![]()
Karthik Krishnan (884●6●121●163)
| asked Aug 26 '13, 3:59 a.m.
retagged Aug 27 '13, 6:32 p.m. by Te-Hsin Shih (285●4)
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
|
Accepted answer
![]()
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
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.
Comments
Why is the component locked?
to avoid further change sets during integration.
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.