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

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