Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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:
According to the Jenkins Job DSL documentation shallow has to be enabled:
Required, but never shown