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 changes. #98

Closed AlexanderK46 closed 7 years ago

AlexanderK46 commented 7 years ago

Issue details

As a developer I would like to run a build on the specified changes.

The tag contains information about the last commit included into the build and is only good for re-triggering the build: it contains the TeamCity internal id (the id attribute) associated with the commit, which is necessary for TeamCity to trigger a custom build on the same commit. - see https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-Changes

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(configuration.Id),
    hp =>
        {
            customProperties.ForEach(p => hp.Parameter(p.Name, p.Value));
        },
    ho => ho.OnBranch("release").WithCleanSources().OnChange(195669));
borismod commented 7 years ago

@AlexanderKholodov46 thank you for your contribution. Can you please take a look on my comments?