Skip to content

release fails with ReleaseFailedException: Status: Optional[REJECTED_OTHER_REASON] #878

@marcindabrowski

Description

@marcindabrowski

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions