Skip to content

Commit

Permalink
Expose TeamCityProvider.SetParameter method via the ITeamCityProvider…
Browse files Browse the repository at this point in the history
… interface

Support for TeamCity's "setParameter" service message was added in
cake-build#1114 but only the tests and implementor
were updated.

This change updates the interface to match, which is what is actually exposed to
Cake scripts.
  • Loading branch information
Dane Bertram committed Sep 2, 2016
1 parent 738e73c commit 98c2485
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Cake.Common/Build/TeamCity/ITeamCityProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ public interface ITeamCityProvider
/// <param name="buildNumber">The required build number.</param>
void SetBuildNumber(string buildNumber);

/// <summary>
/// Tells TeamCity to set a named parameter with a given value
/// </summary>
/// <param name="parameterName">The name of the parameter to set.</param>
/// <param name="parameterValue">The value to set for the named parameter.</param>
void SetParameter(string parameterName, string parameterValue);

/// <summary>
/// Write the end of a message block to the TeamCity build log.
/// </summary>
Expand Down

0 comments on commit 98c2485

Please sign in to comment.