How to enable shallow clone using JCAC? Another question that is related to this one. We try to configure the shallow clone using Jenkins Configuration As Code (JCAC). Although a configuration section is available, shallow clone seems to be omitted:



Gitter
According to the Jenkins Job DSL documentation shallow has to be enabled:

shallow(true)