It's all about the answers!

Ask a question

How to restrict deliver only for successful build in RTC 3.0.1?


Amit Nath (0610) | asked Mar 04 '14, 1:43 a.m.
edited Mar 04 '14, 2:51 a.m. by Krzysztof Kaźmierczyk (7.4k373103)
 How do I restrict user to deliver only when the build is success in  RTC 3.0.1? 

Accepted answer


permanent link
Krzysztof Kaźmierczyk (7.4k373103) | answered Mar 04 '14, 4:45 a.m.
I see couple of  options here:
1. Not exactly what you are looking for, but you might prevent build if you have any workspace errors: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_process_preconditions.html&scope=null
2. You might try building your own precondition checking whether the build is successful: https://jazz.net/library/article/495
3. You can have two streams: let's call them unconfirmed and confirmed. Developers are developing data to unconfirmed one and it triggers the build which decides whether we can deliver changes to confirmed one or now (according to https://jazz.net/library/article/649#Example_postBuildDeliver)

Let us know if that helps.
Amit Nath selected this answer as the correct answer

Comments
Amit Nath commented Mar 04 '14, 5:13 a.m.

Thanks Krzysztof, it definately helps. Combining preconditions/post build deliver & two workspace etc... this can be aciheved...

One other answer



permanent link
Krzysztof Kaźmierczyk (7.4k373103) | answered Mar 04 '14, 2:50 a.m.
Hi Amit,
Did you try post deliver option for builds: https://jazz.net/library/article/649#Example_postBuildDeliver ?
Let us know if it is already what you were looking for.

Comments
Amit Nath commented Mar 04 '14, 4:09 a.m.

Thanks Krzysztof,

I tried that option. Post build deliver allows to deliver after sucessfull build. 

Developer should not be allowed to deliver without a successfull build. As in situation one user delivers the code without a running build, how this can be  restricted?


Amit Nath commented Mar 04 '14, 4:12 a.m.

To be more precise succefull build goes with a deliver in "post build deliver" but i would like to have every deliver gets with a successfull build.

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.