Enable shallow clone for git repos
[releng/builder.git] / jjb / releng-macros.yaml
index 53db275b2821ebcd6f3a8062b12cbe9679e98df4..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}'
-            module-excludes: '**/karaf/target/**'
 
 - builder:
     name: releng-check-unicode