Closed GibbOne closed 7 years ago
It allows to create and attach VCS roots.
Connect #34.
var vcsRoot = fluentClient.CreateVcsRoot(project, vcs => vcs.AuthMethod(FluentTc.Locators.AuthMethod.Password) .Id(id) .Name($"Project Master") .Branch("refs/heads/master") .IgnoreKnownHosts(true) .Password(LDAP_TC_PWD) .Username(LDAP_TC_USER) .SubModuleCheckout(true) .Url(new Uri($"https://git.git")) .UseAlternates(true) .UserNameStyle(FluentTc.Locators.UserNameStyle.UserId) .AgentCleanFilePolicy(FluentTc.Locators.AgentCleanFilePolicy.AllUntracked) .AgentCleanPolicy(FluentTc.Locators.AgentCleanPolicy.OnBranchChange)); fluentClient.AttachVcsRootToBuildConfiguration(b => b.Id(buildId), vcsRoot);
Thank you!
Issue details
It allows to create and attach VCS roots.
Relates to issue
Connect #34.
Checklist
Example of using new/modified functionality