Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Problem: Advisor run before conflict checking on deliver operation

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.

 

0 votes

Comments

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.

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
 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. 

0 votes


Permanent link
 Hi,

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

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Dec 26 '12, 12:05 p.m.

Question was seen: 4,185 times

Last updated: Jan 10 '13, 4:09 p.m.

Confirmation Cancel Confirm