-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Automate pushing Che releases to Maven Central #16043
Comments
Too busy in 7.10. Did not get information from @vparfonov about how to get access to pushing to Maven Central. Need that before we can proceed. |
After discussion today, looks like we can improve https://github.com/eclipse/che/blob/master/.ci/cico_common.sh#L87-L96 to add the "if not snapshot then deploy, nexus-staging:deploy-staged, nexus-staging:release" logic into the We should also fix https://github.com/eclipse/che/blob/master/.ci/cico_common.sh#L107-L110 to use the devstudio-release bot with email address crw-bots@redhat.com And we need to stick this block https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml#L520-L532 into the Che parent pom:
into https://github.com/eclipse/che-parent/blob/master/pom.xml |
the nexus-staging plugin is now in use. Now automatic closure of repository is enabled (but not automatic release), which would be done soon, probably by 13.0 release |
Slip turning on the automated release to MC to the 7.14 release. |
From Mykhailo:
So we slip to 7.16. |
Autorelease on nexus is being used by default now |
Is your enhancement related to a problem? Please describe.
Today, releases to Maven Central require manual steps to approve/release content.
But there's a nexus mojo that can automate this, as we did for JBoss Tools pushing into the JBoss Nexus repo.
Describe the solution you'd like
Use a Jenkins job to orchestrate the build & release to Maven Central.
(full job here: https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/jbosstools-releng/job/jbosstools-build.parent_master/configure-readonly/)
This requires setting up the nexus-staging plugin in the parent pom, as was done here:
https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml#L520-L532
There may also be some Jenkins master configuration (
settings.xml
) required to authenticate with the repo as an approved user -- not sure what's required there. But at the very least, if we can't do anexus-staging:release
, we should be able tonexus-staging:deploy-staged
to get the bits up into Maven automatically, then only need to do one manual step in Nexus's UI.Additional context
This is a followup exercise pursuant to streamlining and automating the full Che release process. The first step was getting RELEASE.md files for all the repos.
See also:
The text was updated successfully, but these errors were encountered: