This namespace bundles support for various Build-Servers.
Supported Build-Server (Note: Not supported doesn't mean that it won't work, but colors and deep integration might be missing):
Fake.BuildServer.TeamCity- legacy documentation
Generally there is no need to write a script with a particular build server in mind. The usual integration works by pulling the Fake 5 module and calling
BuildServer.Install [ Server.Installer ].
By using the
Fake.Core.Trace-Api Fake will use all available build-server features and provide the best integration into the platform. If you feel like we missed some feature on your CI/CD-server please let us know and open an issue. Or consider sending a pull request.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45:
Please look at the existing implementations. Please contribute new implementations to the repository. Some changes like adding new cases to the
TraceListener module are not considered breaking changes. Using these types (using
match on these types to be exact) outside the fake repository is not considered good practice.
Fake itself uses AppVeyor and TeamFoundation support for importing and displaying test results:
1: 2: 3: 4: 5:
Look at this CI-build for an example on how it looks in VSTS.
static member AppendAllLines : path:string * contents:IEnumerable<string> -> unit + 1 overload
static member AppendAllText : path:string * contents:string -> unit + 1 overload
static member AppendText : path:string -> StreamWriter
static member Copy : sourceFileName:string * destFileName:string -> unit + 1 overload
static member Create : path:string -> FileStream + 3 overloads
static member CreateText : path:string -> StreamWriter
static member Decrypt : path:string -> unit
static member Delete : path:string -> unit
static member Encrypt : path:string -> unit
static member Exists : path:string -> bool
File.WriteAllText(path: string, contents: string, encoding: System.Text.Encoding) : unit