Enable shallow clone for git repos
[releng/builder.git] / jjb / releng-macros.yaml
index 39678b4fa65c3827d79f0a0807d1fb9c0a3fa840..b188da33d8a0557b199628997c904fad3643afb5 100644 (file)
@@ -66,6 +66,7 @@
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+            shallow-clone: true
             wipe-workspace: true
 
 - scm:
@@ -78,6 +79,7 @@
             branches:
                 - 'origin/$GERRIT_BRANCH'
             skip-tag: true
+            shallow-clone: true
             choosing-strategy: '{choosing-strategy}'
 
 - wrapper:
     builders:
         - sonatype-clm:
             application-name: '{application-name}'
-            scan-targets: '**/target/**'
 
 - builder:
     name: releng-check-unicode