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

BuildServer

Functions and values

Function or valueDescription
BuildServer.ansiColorSupport
Signature: bool
BuildServer.buildServer
Signature: BuildServer

The current build server

BuildServer.buildVersion
Signature: string

The current build version as detected from the current build server.

BuildServer.install(servers)
Signature: servers:BuildServerInstaller list -> unit
BuildServer.isLocalBuild
Signature: bool

Is true when the current build is a local build.

BuildServer.verbose
Signature: bool
Attributes:
[<Obsolete("use 'Trace.isVerbose ()' and 'Trace.setVerbose true' instead")>]
OBSOLETE

use 'Trace.isVerbose ()' and 'Trace.setVerbose true' instead

Defines if FAKE will use verbose tracing. This flag can be specified by setting the verbose build parameter.

BuildServer.xmlOutputFile
Signature: string

Defines the XML output file - used for build servers like CruiseControl.NET. This output file can be specified by using the logfile build parameter.