-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
job-dsl-plugin 1.5.1
git-plugin 3.0.0
I see the following in the docs (generated from my Jenkins instance):
depth(int value)
Set shallow clone depth, so that git will only download recent history of the project, saving time and disk space when you just want to access the latest version of a repository.
but when I try to use it I get
ERROR: (HelperBase.groovy, line 247) No signature of method: javaposse.jobdsl.dsl.helpers.scm.GitCloneOptionsContext.depth() is applicable for argument types: (java.lang.Integer) values: [50] Possible solutions: each(groovy.lang.Closure), with(groovy.lang.Closure), wait(), dump(), grep(), wait(long)