| Thanks. A tag as a merge target will not work. I've confirmed that a branch merge target works as expected while a tag merge target fails consistently, whether in a multibranch Pipeline or a Pipeline job based on a single branch of a repository. I assume the first success case in your job may be a happy accident. If merge to a tag is critical, you can likely perform the merge step you want using sh or bat or powershell calls to command line git to perform the merge. Merge is a local operation in git (unless you're using large files) and should not require any credentials. Refer to my JENKINS-59008 check job to see the techniques I explored while trying to merge to a tag. |