title: How to commit/push a Git tag with Gradle?
body: <p>I have created a specific Gradle task that should only be called in the Jenkins build system. I need to make this task depend on another one which should tag the HEAD of the master branch after a successful compilation of the project.</p>
  
  <p>I have no idea how can I commit/push/add tags to a specific branch in remote repository using Gradle. What's the easiest way to achieve this?</p>
  
  <p>Any help is really appreciated...</p>