It's all about the answers!

Ask a question

Code review with RTC 2.0: mandating reviews before build?

Frederic Mora (13811518) | asked Jan 21 '10, 8:15 p.m.
We want to make sure that all the items included in a certain build (or delivered to a certain stream) have been reviewed.

I can manually crate a query that shows me all work items that need approval and are completed or rejected. The idea is to take all items that are included in a certain snapshot and to verify they are all reviewed.

Is there a way to run such a query from the command line?

One answer

permanent link
Jean-Michel Lemieux (2.5k11) | answered Jan 21 '10, 9:46 p.m.
There are two techniques here:

1. Proactive block delivery if approvals aren't complete. This requires that approvals are provided before you deliver. This is supported in the tool and allows you to add a process pre-condition to the deliver operation that enforces approvals for all delivered change sets.

2. After the fact, you can run the command line to list the work items in the build, but then would have to write a script to process the work items and verify the attributes that you feel are important. The command line provides a compare command that can compare two snapshots, baselines, streams and outputs the results in different levels of details.


Your answer

Register or to post your answer.