title: How to pass Git SSH credentials to Gradle release plugin in Jenkins?
body: <p>I’m trying to employ the Gradle <a href="https://github.com/researchgate/gradle-release" rel="nofollow noreferrer">release plugin</a> on our client’s Jenkins (1.x, so no Jenkinsfile pipelines… ). I tested it on my box, and everything is well. However, when I invoke the build job, it fails with this output:</p>
  
  <pre><code>Task :foundation:checkUpdateNeeded FAILED
  Running [git, remote, update] produced an error: [Permission denied (publickey).
  </code></pre>
  
  <p>I know that Jenkins has got a set of Git SSH Credentials, because the job starts by checking out a fresh copy from Git using these.</p>
  
  <p>How can we make the release plugin use the credentials which are configured for the job during checkout?</p>