The SCM plugins can take job parameters as part of the SCM location. You could pass the SCM location details with a job parameter and hard code to use that parameter.
-- 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. For more options, visit https://groups.google.com/d/optout.