I'm using plugin v1.18.16 with Gradle 8.11.1 and run release task with --stacktrace option. But the exception message do not show nothing helpful. I'm getting:
Release fails with
Caused by: pl.allegro.tech.build.axion.release.ReleaseFailedException: Status: Optional[REJECTED_OTHER_REASON]
Message:
Message is empty, nothing else can be found.
on some runs it is:
Caused by: org.eclipse.jgit.api.errors.ConcurrentRefUpdateException: Could not lock HEAD. RefUpdate return code was: LOCK_FAILURE
at org.eclipse.jgit.api.TagCommand.updateTagRef(TagCommand.java:172)
at org.eclipse.jgit.api.TagCommand.call(TagCommand.java:147)
at pl.allegro.tech.build.axion.release.infrastructure.git.GitRepository.tag(GitRepository.java:124)
... 152 more
On other projects it is working, the gradle configuration is the same.
The only difference is that I changed the repository name.
Any thought what it can be?