8213227: Update jib src excludes to filter webrev and Jreg directories
authorerikj
Mon, 05 Nov 2018 09:10:57 -0800
changeset 52415 bc4246eb76c4
parent 52414 6d42c07ba238
child 52416 1fc8166e28a2
8213227: Update jib src excludes to filter webrev and Jreg directories Reviewed-by: dholmes, tbell, ihse
make/conf/jib-profiles.js
--- a/make/conf/jib-profiles.js	Mon Nov 05 13:13:29 2018 +0100
+++ b/make/conf/jib-profiles.js	Mon Nov 05 09:10:57 2018 -0800
@@ -201,10 +201,15 @@
     data.configuration_make_arg = "CONF_NAME=";
 
     // Exclude list to use when Jib creates a source bundle
-    data.src_bundle_excludes = "./build .build webrev* */webrev* */*/webrev* */*/*/webrev* .hg */.hg */*/.hg */*/*/.hg";
+    data.src_bundle_excludes = [
+        "build", "{,**/}webrev*", "{,**/}.hg", "{,**/}JTwork", "{,**/}JTreport",
+        "{,**/}.git"
+    ];
     // Include list to use when creating a minimal jib source bundle which
     // contains just the jib configuration files.
-    data.conf_bundle_includes = "*/conf/jib-profiles.* make/autoconf/version-numbers"
+    data.conf_bundle_includes = [
+        "make/autoconf/version-numbers",
+    ];
 
     // Define some common values
     var common = getJibProfilesCommon(input, data);