I want to setup my environment by an automatic script. For the nexus, I don’t know how to give to a specific password instead of a random one. Any tips are very appreciated.
If you set this in sonatype-work/nexus3/etc/nexus.properties a random password will not be used, the old default password of “admin123” will be used instead:
nexus.security.randompassword=false
1 Like
Thanks for your quick response! I’ll try it.
I found another way to do that. It might be a trick way. But it works. Give it a environment variable NEXUS_SECURITY_RANDOMPASSWORD
which value is false
.