I need to configure our Nexus repo to have multiple procured groups and have different Jenkins jobs reference different groups depending on the type of job.
For example, for CI jobs I need to be able to proxy a bunch of repositories. For deploy or release jobs I need to use a proxy group that is procured and controlled. The CI may allow the users to get to artifacts that aren't yet approved but for releases the artifacts are vetted and approved first.
It seems simple to create the groups and do procurement in Nexus. However, I can't figure out how to get the Jenkins jobs to use the different groups. I can only have a single mirrorOf tag in the maven .settings.xml and mirrors can't be set in profiles.
Has anyone tried this?