Last active
October 27, 2015 07:47
-
-
Save Vidarls/596bbdce0414e14e629b to your computer and use it in GitHub Desktop.
Simple example of reporting deployments to Raygun.io from a FAKE build script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Module does not have AutoOpen | |
open Fake.RaygunHelper | |
RaygunHelper.ReportDeployment | |
//Setting up endpoint | |
(fun s -> {s with externalToken = "MyExternalAccessToken"}) | |
//Sending data | |
(fun r -> | |
{r with | |
apiKey = "MyApplicationApiKey" | |
comment = "Release notes" | |
emailAddress = "deployer@me.com" | |
ownerName = "Deployer " | |
version = "1.2.3"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment