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

Automatically closing and releasing Nexus Staging repository #4194

Closed
erdemedeiros opened this issue Jan 2, 2023 · 0 comments
Closed

Automatically closing and releasing Nexus Staging repository #4194

erdemedeiros opened this issue Jan 2, 2023 · 0 comments
Assignees
Milestone

Comments

@erdemedeiros
Copy link
Member

Automate the actions of closing and releasing the Nexus staging repository using the provided REST APIs.

  • Close:
POST /service/local/staging/bulk/close
{
  "data": {
    "description": "Closing $VERSION",
    "stagedRepositoryIds": [
      "$STAGING_REPOSITORY_ID"
    ]
  }
}
  • Release:
POST /service/local/staging/bulk/promote
{
  "data": {
    "autoDropAfterRelease": true,
    "description": "Releasing $VERSION",
    "stagedRepositoryIds": [
      "$STAGING_REPOSITORY_ID"
    ]
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant