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

How to define precondition of deliver operation

(1)I would like to define a precondition of deliver(client) operation, just like 'Prohibit Workspace Errors', in order to do something before running deliver action. How should I do?
Should we write some code only at client side or both at client and server sides? How to do? What's the extension point?

(2)What's the deference between deliver(client) and deliver(server) in the Project Area->Process Configuration page ?

Any idea or information related are welcome! Thank you very much!
My Email: ygqy@cn.ibm.com

0 votes



3 answers

Permanent link
Hi,

First you need to analyze what conditions you want to check. Both client and server advisors run before the actual deliver, so you can cancel the delivery on both.

I think that if you will only check client aspects (compilation issues, workspaces stuff, or in general, things that you can check without a server connection), then you can use client advisor.

But in most cases, the ideal to is tu use a server advisor. So you can check aspects of WorkItem, Repository, User, Server and much more...

In order to develop it, you can use the extension point: com.ibm.team.process.service.operationAdvisors

0 votes


Permanent link
(1)I would like to define a precondition of deliver(client) operation, just like 'Prohibit Workspace Errors', in order to do something before running deliver action. How should I do?
Should we write some code only at client side or both at client and server sides? How to do? What's the extension point?

(2)What's the deference between deliver(client) and deliver(server) in the Project Area->Process Configuration page ?

Any idea or information related are welcome! Thank you very much!
My Email: ygqy@cn.ibm.com


There is a wiki topic here that would be helpful-
https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation

0 votes


Permanent link
Thank you very much for your good information.
I have solved the issue.The 'operation id' should be 'com.ibm.team.scm.client.deliver' when define a precondition of deliver operation at client side, while should be 'com.ibm.team.scm.server.deliver' when at server side. Thanks for your good information.

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,930

Question asked: Jul 19 '11, 4:13 a.m.

Question was seen: 5,842 times

Last updated: Jul 19 '11, 4:13 a.m.

Confirmation Cancel Confirm