title: How can I deploy a Gradle build to a maven repository (Nexus) with Jenkins?
body: <p>I have a third party project that I'm having Jenkins watch. It is on Github, and Jenkins polls every hour to see if there are any changes in it, then Jenkins builds it using Gradle.</p>
  
  <p>I want Jenkins to then deploy the artifacts that come from the Gradle build to Maven. How can I do that?</p>
  
  <p>Thanks in advance.</p>
  
  <p>[P.S. My apologies if this is the wrong website.]</p>
  
  <p>(As a note: Since I do not own this project, it is a third-party, I can't add a deployment section to the gradle build file so that is out of the question. This is the reason why I am posting here.)</p>