Jenkins - Git Publisher - Unable to push tags
<p>When using the Jenkins GIT Plugin "Git Publisher" to push a tag, I get the following error which doesn't give me any usable information that I can see. Has anyone faced a similar issue?</p>

<pre><code>Pushing tag mytag to repo origin
RefSpec is "refs/tags/mytag:refs/heads/mytag".
Opening connection
Counting objects
Finding sources
Writing objects
ERROR: Failed to push tag mytag to origin
hudson.plugins.git.GitException: failed to write REJECTED_OTHER_REASON for 'refs/tags/mytag:refs/heads/mytag' refspec 'mytag' to https://&lt;ADDRESSOFSTASH&gt;/tomtest.git
        at org.jenkinsci.plugins.gitclient.JGitAPIImpl$9.execute(JGitAPIImpl.java:1870)
        at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:306)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
        at hudson.model.Build$BuildExecution.post2(Build.java:185)
        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
        at hudson.model.Run.execute(Run.java:1766)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:98)
        at hudson.model.Executor.run(Executor.java:408)
Build step 'Git Publisher' marked build as failure
</code></pre>