I have a bit of an issue I've run into. I've set up git mirrors in separate subnets and would like my pipeline jobs to use these mirrors as the pipeline job source. Until now, we've had a central gitlab repo which we allowed access to through our firewall for each remote subnet.
I changed the url to the mirror url but hit a problem immediately. The job is started on the master, which clones/pulls the repo source in order to access the jenkinsfile. Inside the jenkinsfile is an agent definition that transfers the pipeline execution to a jenkins agent in the remote subnet. The problem is that the master accesses our local gitlab, while the agent nodes are blocked from gitlab and need to instead access the git mirror (which is on the same server, for the record). I will probably have to add a mirror to the jenkins server so both master and agents can use a local file:// type url to access it, but I thought I'd check here first and see if there's a way to set different repo urls for the jenkins master vs the agent nodes. Is this possible? Thanks, Guy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANNH9msyOU1BWTGz%2BZnLJ%2B%3DufRupgAY1ptqF3Fa1oFodo2GcEQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.