12 years ago
how to start created review using admin batch
Hi,
I am currently creating a review using the admin batch commands from cmd line tool and assigning reviewers however someone still needs to login to the web app and click the "apply and begin review button" to begin the review. Is there a command for the admin batch to automatically begin the review so the administrator does not have to manually begin every review? This is the xml that is currently being sent with the admin batch (with business specific info removed) is there a command I can add to begin the review:
<?xml version="1.0" encoding="utf-8"?>
<batch-commands xmlns="http://codereviewer">
<global-options xmlns="">
<no-browser />
<non-interactive />
<password>password here</password>
<quiet />
<scm>Subversion</scm>
<url>url to svn</url>
<user>admin</user>
<svn-exe>C:\Program Files (x86)\VisualSVN Server\bin\svn.exe</svn-exe>
<svn-look-exe>C:\Program Files (x86)\VisualSVN Server\bin\svnlook.exe</svn-look-exe>
<svn-repo-url>url to repo</svn-repo-url>
<svn-user>repo username<User</svn-user>
<svn-passwd>repo password</svn-passwd>
</global-options>
<admin_review_create xmlns="">
<title>title of review</title>
</admin_review_create>
<addchangelist xmlns="">
<review>last</review>
<changelist>revnumber</changelist>
</addchangelist>
<admin_review_set-participants xmlns="">
<participant>Author=author</participant>
<participant>Reviewer=reviewer</participant>
<review>last</review>
</admin_review_set-participants>
</batch-commands>
I am currently creating a review using the admin batch commands from cmd line tool and assigning reviewers however someone still needs to login to the web app and click the "apply and begin review button" to begin the review. Is there a command for the admin batch to automatically begin the review so the administrator does not have to manually begin every review? This is the xml that is currently being sent with the admin batch (with business specific info removed) is there a command I can add to begin the review:
<?xml version="1.0" encoding="utf-8"?>
<batch-commands xmlns="http://codereviewer">
<global-options xmlns="">
<no-browser />
<non-interactive />
<password>password here</password>
<quiet />
<scm>Subversion</scm>
<url>url to svn</url>
<user>admin</user>
<svn-exe>C:\Program Files (x86)\VisualSVN Server\bin\svn.exe</svn-exe>
<svn-look-exe>C:\Program Files (x86)\VisualSVN Server\bin\svnlook.exe</svn-look-exe>
<svn-repo-url>url to repo</svn-repo-url>
<svn-user>repo username<User</svn-user>
<svn-passwd>repo password</svn-passwd>
</global-options>
<admin_review_create xmlns="">
<title>title of review</title>
</admin_review_create>
<addchangelist xmlns="">
<review>last</review>
<changelist>revnumber</changelist>
</addchangelist>
<admin_review_set-participants xmlns="">
<participant>Author=author</participant>
<participant>Reviewer=reviewer</participant>
<review>last</review>
</admin_review_set-participants>
</batch-commands>