How to restrict deliver only for successful build in RTC 3.0.1?
Accepted answer
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.
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.
One other answer
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.
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
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?
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.