[workflow] advanced git scm features in workflow?

35 views
Skip to first unread message

Jacob Keller

unread,
Jul 16, 2015, 1:59:18 PM7/16/15
to jenkins...@googlegroups.com
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

Jacob Keller

unread,
Jul 16, 2015, 2:14:14 PM7/16/15
to jenkins...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages