__init__(self,
repourl=None,
branch=' master ' ,
submodules=False,
ignore_ignores=None,
reference=None,
shallow=False,
progress=False,
**kwargs)
(Constructor)
| source code
|
- Parameters:
repourl (string) - the URL which points at the git repository
branch (string) - The branch or tag to check out by default. If a build specifies a
different branch, it will be used instead of this.
submodules (boolean) - Whether or not to update (and initialize) git submodules.
reference (string) - The path to a reference repository to obtain objects from, if
any.
shallow (boolean) - Use a shallow or clone, if possible
progress (boolean) - Pass the --progress option when fetching. This can solve long
fetches getting killed due to lack of output, but requires Git
1.7.2+.
- Overrides:
process.buildstep.BuildStep.__init__
|