Example #1
0
        protected void git(string url, string branchName)
        {
            var sourceControl = SourceControl.Create <GitSourceControl>(url);

            sourceControl.BranchName    = branchName;
            buildMetaData.SourceControl = sourceControl;
        }
Example #2
0
 protected void hg(string url)
 {
     buildMetaData.SourceControl = SourceControl.Create <MercurialSourceControl>(url);
 }
Example #3
0
 protected void git(string url)
 {
     buildMetaData.SourceControl = SourceControl.Create <GitSourceControl>(url);
 }
Example #4
0
 protected void svn(string url)
 {
     buildMetaData.SourceControl = SourceControl.Create <SVNSourceControl>(url);
 }