Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

please use nuget 'Fake.BuildServer.TeamCity', open Fake.BuildServer and use TeamCity.BuildParameters instead

TeamCityBuildParameters

TeamCity build parameters See Predefined Build Parameters documentation for more information

Functions and values

Function or valueDescription
getAll()
Signature: unit -> Map<string,string>

Get all parameters System ones are prefixed with 'system.', runner ones with 'runner.' and environment variables with 'env.'

getAllConfiguration()
Signature: unit -> Map<string,string>

Get all configuration parameters

getAllRunner()
Signature: unit -> Map<string,string>

Get all runner parameters

getAllSystem()
Signature: unit -> Map<string,string>

Get all system parameters

tryGet(name)
Signature: name:string -> string option

Get the value of a parameter by name System ones are prefixed with 'system.', runner ones with 'runner.' and environment variables with 'env.'

tryGetConfiguration(name)
Signature: name:string -> string option

Get the value of a configuration parameter by name

tryGetRunner(name)
Signature: name:string -> string option

Get the value of a runner parameter by name

tryGetSystem(name)
Signature: name:string -> string option

Get the value of a system parameter by name