QualiSystems / FluentTc

:ocean: :two_men_holding_hands: :office: Integrate with TeamCity fluently
https://www.nuget.org/packages/fluenttc
Apache License 2.0
44 stars 35 forks source link

As a developer I would like to run a build on the specified agent, wi… #97

Closed AlexanderK46 closed 7 years ago

AlexanderK46 commented 7 years ago

…th custom parameters and for the specified branch

Issue details

I would like to run a build on the specified agent (by its id), with custom parameters and гsing the sources from a branch other than the default.

Relates to issue

Use close #XX or connect #XX in order to resolve or link an issue

Checklist

Example of using new/modified functionality

            var build = client.RunBuildConfiguration(
                hc => hc.Id(configurationId),
                ha => ha.Id(agent.Id),
                hp => hp.Parameter("param1", "value1").Parameter("env.param2", "value2"),
                ho => ho.OnBranch("release").WithCleanSources());
borismod commented 7 years ago

@AlexanderKholodov46 thanks for your contribution. Exactly what was needed! nuget package will be released automatically