Closed bucaojit closed 1 week ago
the
nexus-publish
plugin we're using is quite old and doesn't have documentation on whether we can put token name/token password in place of username/password, the successor of the project gradle-nexus seems to suggest it can be. So I think we can try it at release time and if it fails look into changing the plugin togradle-nexus
Let's create a JIRA ticket to swap the plugin for the newer one. If the release succeeds then it can be done later, if it fails, then we will have to address the issue earlier.
Looking at the release notes, we might be able to use 1.3.0 without problem. If we want to use 2.0 or later, we might have to use to ubuntu2204-64-jdk-11
instead of ubuntu2204-64-jdk-8
(which I think is time to do too)
Sounds good, created https://jira.mongodb.org/browse/SQL-2145 to cover updating the plugin.
Changes are mainly updating the variable name. I added the NEXUS_TOKEN_NAME and NEXUS_TOKEN variables in evergreen.
A few things, the
nexus-publish
plugin we're using is quite old and doesn't have documentation on whether we can put token name/token password in place of username/password, the successor of the project gradle-nexus seems to suggest it can be. So I think we can try it at release time and if it fails look into changing the plugin togradle-nexus
ormaven-publish
which is what the java driver uses.