How can an operation advisor know which files are going to be delivered?
Hello,
I am trying to implement an operation advisor that is activated when DELIVER operation on server is attempted.
I have followed this blog that deals with the advisor that, when DELIVER operation is attempted,checks if workitems are of the desired type. If not, delivery is forbidden.
My task is to program a similar advisor, but mine should be able to find out which files are going to be delivered (are modified or new) and then, it should carry out specific checks on that files.
MY GOAL: Get the advisor find out which files are going to be delivered and therefore the advisor should perform specific check on them.
Thank you very much in advance!
I am trying to implement an operation advisor that is activated when DELIVER operation on server is attempted.
I have followed this blog that deals with the advisor that, when DELIVER operation is attempted,checks if workitems are of the desired type. If not, delivery is forbidden.
My task is to program a similar advisor, but mine should be able to find out which files are going to be delivered (are modified or new) and then, it should carry out specific checks on that files.
MY GOAL: Get the advisor find out which files are going to be delivered and therefore the advisor should perform specific check on them.
Thank you very much in advance!
One answer
Consider google for "deliver change set Team Concert Advisor" and the like. Limit using site:jazz.net as selection criterion. https://rsjazz.wordpress.com/ also has API examples more in https://rsjazz.wordpress.com/interesting-links/ . A deliver advisor can iterate all items that are to be delivered.
https://rsjazz.wordpress.com/2016/02/03/setting-access-control-permissions-for-scm-versionables/ explains some of the API, I think.
https://rsjazz.wordpress.com/2016/02/03/setting-access-control-permissions-for-scm-versionables/ explains some of the API, I think.
Comments
Michal Sipos
Nov 22 '16, 1:49 p.m.