Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#155] Mention common reason of "not in desired state" error #157

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class StagingRepositoryTransitioner(val nexusClient: NexusClient, val retrier: A
if (repository.state !in desiredStates) {
throw RepositoryTransitionException(
"Staging repository is not in desired state ${desiredStates.contentToString()}: $repository. It is unexpected. Please check " +
"Nexus logs using its web interface - it can be caused by validation rules violation. If not, please report it " +
"to https://github.com/gradle-nexus/publish-plugin/issues/ with '--info' logs"
"the Nexus logs using its web interface - it can be caused by validation rules violation (e.g. publishing artifacts with the " +
"same version again). If not, please report it to https://github.com/gradle-nexus/publish-plugin/issues/ with the '--info' logs."
)
}
}
Expand Down