Jenkins plugin to notify New Relic about deployments.
Use the New Relic Deployment Notifier by adding it as a Post Step in you Jenkins build job configuration.
- In your Jenkins job configuration go to the Post-build Actions
section, click on Add post-build action and select New Relic
- Create an username/password credential for the API key. Enter the
key as the password.
- Select an application in the dropdown list.
- Add any of the optional values: description, revision,
changelog or user
If you have configured everything correctly, Jenkins will notify you New Relic account of subsequent deployments.
It is possible to configure several applications to be notified.
Getting user as an environment variable
Install the Build User Vars
and use any of the supported environment variables.