title: How to Automatic Record deployment with Java Agent in New Relic?
body: <p>How Can i <strong>record deployment with Java Agent</strong> or other alternatives <strong>automatically</strong>?</p>
  
  <p>As from the <a href="https://docs.newrelic.com/docs/agents/java-agent/instrumentation/recording-deployments-java-agent" rel="nofollow">New Relic Documentation</a> we manually had to execute the Java agent jar from command line to send deployment information to New Relic.</p>
  
  <pre><code>java -jar newrelic.jar deployment [options]
  </code></pre>