引用
./cruise add --help
usage: add [project-name] -r [repository] -s [svn|git|hg|bzr] -r, --repository repository Location of the source control repository for the project (eg. svn://rubyforge.org/var/svn/cruisecontrolrb) -s source_control Specify the source control manager to use (default: subversion) --source-control -b, --branch branch Specify a source control branch to use (Git, Mercurial) --username username Specify a username for source control --password password Specify a password for source control -t, --trace Print out exception stack traces -u, --url url [deprecated, use -r|--repository instead] URL of the source control repository
例子:
./cruise add prj_dev -r prj -b <branch_name> -s git -u git+ssh://git@git.***.com/prj