changeset 52437:bc4246eb76c4

8213227: Update jib src excludes to filter webrev and Jreg directories Reviewed-by: dholmes, tbell, ihse
author erikj
date Mon, 05 Nov 2018 09:10:57 -0800
parents 6d42c07ba238
children 1fc8166e28a2
files make/conf/jib-profiles.js
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);