Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Created June 16, 2014 08:02
Show Gist options
  • Save HowardvanRooijen/7ae38ebab5fd22e1d1fe to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/7ae38ebab5fd22e1d1fe to your computer and use it in GitHub Desktop.
Notify NewRelic Curl Command
"%teamcity.agent.tools.dir%\nr-deployment-notifier\bin\curl.exe" -silent -k
-H "x-api-key:%teamcity.tool.newrelic.deploymentnotifier.apikey%"
-d "deployment[app_name]=%teamcity.tool.newrelic.deploymentnotifier.appname%"
-d "deployment[changelog]=%teamcity.tool.newrelic.deploymentnotifier.changelog%"
-d "deployment[description]=%teamcity.tool.newrelic.deploymentnotifier.description%"
-d "deployment[environment]=%teamcity.tool.newrelic.deploymentnotifier.environment%"
-d "deployment[revision]=%teamcity.tool.newrelic.deploymentnotifier.revision%"
-d "deployment[user]=%teamcity.tool.newrelic.deploymentnotifier.user%"
https://api.newrelic.com/deployments.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment