It's all about the answers!

Ask a question

Problem: Advisor run before conflict checking on deliver operation


Yehiel Glass (25538986) | asked Dec 26 '12, 12:05 p.m.

Hi,

I'm using RTC 3.0.1.3 , and I wrote an advisor on deliver operation.
We run company  tests on the code before deliver. Our script also copies the artifacts after verifying the code.

I saw that the Advisor run before the basic tests of the system: When there are conflicts, my advisor will run it's tests and will copy the artifacts, but after all our tests - the system will fail the deliver because of basic conflict!

How can I run our tests,  only - after - the basic tests of RTC (like conflicts) are done ?

Thanks.

 


Comments
Yehiel Glass commented Jan 01 '13, 6:36 a.m.

I thougt that if the GUI workspace is colored on conflict - there is a flag that I can read before delivere action. I just need to know where is that flag ..

Can someone  help with that ?

Thanks.


Martin Dam Pedersen commented Jan 04 '13, 7:45 a.m.

Just a few simple question, to clarify what you are trying to achieve. Which artifacts are you copying? What's the copy destination? and what are your motivation for doing that during deliver operation ?

2 answers



permanent link
Yehiel Glass (25538986) | answered Jan 10 '13, 4:09 p.m.
 Hi,

I found there is a method 'ComponentConflictUtil.hasConflictItems(IComponentSyncContext context)'

Is there a way to get the ComponentSyncContext on the server plugin code?

permanent link
Martin Dam Pedersen (1352814) | answered Jan 04 '13, 5:21 a.m.
 Hi,

I would suggest to keep running the tests in the advisor, but move the copy of artifacts to a contributor(follow-up action). Then you will only copy when the deliver was successful. 

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.