Thursday, December 19, 2019

org.sonatype.nexus.rest.RestletRepositoryURLBuilder - Not able to build content URL of the repository "xxxxx_snap" [id=xxxxx_snap], baseUrl not set

BaseURL is showing null for YUM hosted repo in Sonatype Nexus.

[xxxxx_snap]
name=xxxxx_snap
baseurl=null
enabled=1
protect=0
gpgcheck=0
metadata_expire=30s
autorefresh=1
type=rpm-md
sslverify=false


Solution:
Login to the Nexus UI  and then go to the Servers under the Administration section and enable the "Force Base URL". Reconfigure the repo after enabling the "Force Base URL".

No comments:

Post a Comment