Turns out I found the general SCM step which has all the advanced options I am used to. I can just go ahead and use this. It's probably not worth extending the custom git step since most of these features aren't useful much of the time.
Regards, Jake On Thursday, July 16, 2015 at 10:59:18 AM UTC-7, Jacob Keller wrote: > > Is it possible to configure the advanced behavior of the git scm in a > workflow currently? gitscm plugin has features for controlling behavior > like submodule checkouts, reference repository to reduce network bandwidth > and other controls. > > I can't find any solid documentation on what parameters the git step > takes? I assume the generic SCM step won't take correct parameters for the > git advanced behavior? > > Would someone need to write or extend the git custom step? Or is there > another way? > > What I am trying to do: > > I have a repository with a Linux driver which I need to build/test against > several different Linux distributions, (ie: nodes). I want to do this in > parallel, and we use gerrit for code review, so I want to use the > gerrit-trigger plugin to automate triggering of a workflow with specific > parameters which will tell it what to checkout. > > I want each node to clone and build the remote repository, but I can't > open that many connections to the server, so I want them to reference a > single clone on the master branch which is kept up to date periodically to > reduce network bandwidth. > > I can't figure out if the git step has the necessary bits to customize the > git clone/fetch correctly. > > Regards, > Jake > -- 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/e6992b94-752a-4b02-ae05-ff91e1193b49%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.