You can use the following command arguments in the command line to generate a report from Teamwork Server.
"MyProject" means generating MyProject without specifying its branch.
"MyProject##release" means generating MyProject from the branch ["release"].
"MyProject##release##sp1" means generating MyProject from the branch and sub-branch ["release", "sp1"].
See the following for more examples of how to generate a project from a specific branch and/or a specific version.
Example | Command argument |
---|---|
Generating a project without specifying its branch. | generate -project "MyProject" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator" |
Generating a project from the branch release. | generate -project "MyProject##release" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator" |
Generating a specific version of a project without specifying its branch. | generate -project "MyProject" -pversion "2" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator" |
Generating a specific version of a project from the branch release. | generate -project "MyProject##release" -pversion "2" -template "Web Publisher 2.0" -output "D:\output\output.html" -package "Model" -server "localhost" -login "Administrator" -password "Administrator" |
Generating a set of reports from a specific tag. | generate -project "MyProject" -tag "Finish" -incremental true -ouput "C:/output/out.docx" -template "Class Specification Report" -package "Model" -server "localhost" -login "Administrator" -password "Administrator" |