Remove karaf bundles from clm scan 09/31809/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 23 Dec 2015 05:58:21 +0000 (00:58 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 23 Dec 2015 05:59:37 +0000 (00:59 -0500)
This patch removes karaf bundle target directories to be removed
allowing karaf to be excluded from the scanning.

Change-Id: I410b1f3ed96d957eda73770e194aeff06d4ebcbe
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb-templates/clm.yaml
jjb/releng-macros.yaml

index 7f574c175570ca73b86ebb33bd6b0fb588a187d0..f4e1a0fd39c0c8b9da3b58d45762ea2071c7152a 100644 (file)
@@ -45,6 +45,7 @@
         global-settings: '{odl-global-settings}'
 
     postbuilders:
+        - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
         - check-clm:
             application-name: PROJECT_SHORTNAME
 
index 53db275b2821ebcd6f3a8062b12cbe9679e98df4..d56eb57c51dfb14ed27507453be92e8e261a7571 100644 (file)
     builders:
         - sonatype-clm:
             application-name: '{application-name}'
-            module-excludes: '**/karaf/target/**'
 
 - builder:
     name: releng-check-unicode