{"id":15045712,"url":"https://github.com/jenkinsci/newrelic-deployment-notifier-plugin","last_synced_at":"2025-10-19T21:31:58.707Z","repository":{"id":28386016,"uuid":"31900187","full_name":"jenkinsci/newrelic-deployment-notifier-plugin","owner":"jenkinsci","description":"Jenkins plugin to notify New Relic about deployments","archived":false,"fork":false,"pushed_at":"2024-10-02T21:54:21.000Z","size":162,"stargazers_count":8,"open_issues_count":2,"forks_count":15,"subscribers_count":103,"default_branch":"master","last_synced_at":"2025-01-30T06:11:12.455Z","etag":null,"topics":["deployment","newrelic","notifier"],"latest_commit_sha":null,"homepage":"https://plugins.jenkins.io/newrelic-deployment-notifier/","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jenkinsci.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-09T13:38:12.000Z","updated_at":"2023-10-17T18:53:03.000Z","dependencies_parsed_at":"2024-09-25T01:58:34.500Z","dependency_job_id":"fd3dc4ac-c0ba-4464-ba11-da3905961cf1","html_url":"https://github.com/jenkinsci/newrelic-deployment-notifier-plugin","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fnewrelic-deployment-notifier-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fnewrelic-deployment-notifier-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fnewrelic-deployment-notifier-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fnewrelic-deployment-notifier-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenkinsci","download_url":"https://codeload.github.com/jenkinsci/newrelic-deployment-notifier-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237221176,"owners_count":19274447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment","newrelic","notifier"],"created_at":"2024-09-24T20:52:11.874Z","updated_at":"2025-10-19T21:31:58.702Z","avatar_url":"https://github.com/jenkinsci.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Jenkins New Relic Deployment Notifier Plugin\n============================================\n\nJenkins plugin to notify New Relic about [deployments][].\n\n## Requirements\n\n* An account at **[New Relic][]**\n* API access enabled by creating an **[API key][]**\n* **Jenkins 1.580.1** or newer\n\n## Usage\n\nUse the New Relic Deployment Notifier by adding it as a *Post Step* in\nyou Jenkins build job configuration.\n\n1.  In your Jenkins job configuration go to the **Post-build Actions**\n    section, click on **Add post-build action** and select **New Relic\n    Deployment Notifications**\n    ![](docs/images/postbuild.png)\n2.  Create a username/password credential for the API key. Enter the\n    key as the password.\n    ![](docs/images/credential.png)\n3.  Select an application in the dropdown list.\n    ![](docs/images/validcredential.png)\n4.  Add any of the optional values: *description*, *revision*,\n    *changelog* or *user*\n    ![](docs/images/optional.png)\n\nIf you have configured everything correctly, Jenkins will notify you New\nRelic account of subsequent deployments.\n\nIt is possible to configure several applications to be notified.\n![](docs/images/addnotification.png)\n\n### Getting user as an environment variable\n\nInstall the [Build User Vars\nPlugin](https://wiki.jenkins.io/display/JENKINS/Build+User+Vars+Plugin)\nand use any of the supported environment variables.\n![](docs/images/user.png)\n\n## Maintainers\n\n* Jonathan Gordon\n* Justin Lewis\n* Mads Mohr Christensen\n\n## Changelog\n\n[Changelog](CHANGELOG.md)\n\n## Development\n\n### Project Set Up\n\nFor IntelliJ IDEA users, the following steps are recommended:\n\n1. Install the Jenkins Development Support Plugin.\n2. Open the project directory in IntelliJ IDEA and import as a Maven project. \n3. Go to **File** -\\\u003e **Project Structure** -\\\u003e **Project** and set the\n    **Project SDK** to the JDK you want to use. Right now we're using JDK 8.\n\n### Running Locally\n1. Create a Maven Run Configuration with \"hpi:run\" as the Run command.\n2. Start the configuration in Run or Debug mode.\n3. The plugin will be available at\n    [http://localhost:8080/jenkins/](http://localhost:8080/jenkins/). \n4. Create a new Freestyle Project and name it whatever you want.\n5. Configure the job and click \"Add post-build action\" and select \"New Relic Deployment Notifications\".\n6. Add User API Keys as Global Credentials with a Kind of \"Username with password\" and add the API key as the password. It's helpful to label the credential with the New Relic account id and the region (US or EU).\n7. Configure all the fields for the job and save.\n8. Click \"Build Now\" to run the job and check its status. If it succeeds you should be able to then see the deployment in New Relic under the selected application's Change Tracking tab.\n\n## License\n\n\t(The MIT License)\n\n\tCopyright (c) 2015, Mads Mohr Christensen\n\n\tPermission is hereby granted, free of charge, to any person obtaining\n\ta copy of this software and associated documentation files (the\n\t'Software'), to deal in the Software without restriction, including\n\twithout limitation the rights to use, copy, modify, merge, publish,\n\tdistribute, sublicense, and/or sell copies of the Software, and to\n\tpermit persons to whom the Software is furnished to do so, subject to\n\tthe following conditions:\n\n\tThe above copyright notice and this permission notice shall be\n\tincluded in all copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n\tEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\tMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\tIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n\tCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\tTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n\tSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[deployments]: https://docs.newrelic.com/docs/change-tracking/change-tracking-view-analyze/\n[New Relic]: http://newrelic.com/\n[API key]: https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsci%2Fnewrelic-deployment-notifier-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenkinsci%2Fnewrelic-deployment-notifier-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsci%2Fnewrelic-deployment-notifier-plugin/lists"}