< prev index next >

make/conf/jib-profiles.js

Print this page




 738 
 739     // For open profiles, the non-debug jdk bundles, need an "open" prefix on the
 740     // remote bundle names, forming the word "openjdk". See JDK-8188789.
 741     common.main_profile_names.forEach(function (name) {
 742         var openName = name + common.open_suffix;
 743         profiles[openName].artifacts["jdk"].remote = replaceAll(
 744             "\/jdk-", "/openjdk-",
 745             replaceAll("\/\\1", "/open\\1",
 746                        profiles[openName].artifacts["jdk"].remote));
 747     });
 748 
 749     // Generate cmp-baseline profiles for each main profile and their
 750     // corresponding debug profile. This profile does a compare build run with no
 751     // changes to verify that the compare script has a clean baseline
 752     common.main_profile_names.forEach(function (name) {
 753         [ "", common.open_suffix ].forEach(function (suffix) {
 754             var cmpBaselineName = name + suffix + "-cmp-baseline";
 755             profiles[cmpBaselineName] = clone(profiles[name + suffix]);
 756             // Only compare the images target. This should pressumably be expanded
 757             // to include more build targets when possible.
 758             profiles[cmpBaselineName].default_make_targets = [ "images" ];




 759             profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
 760             // Do not inherit artifact definitions from base profile
 761             delete profiles[cmpBaselineName].artifacts;
 762         });
 763     });
 764 
 765     // Artifacts of JCov profiles
 766     [ "linux-x64", "macosx-x64", "solaris-sparcv9", "windows-x64"]
 767         .forEach(function (name) {
 768             var o = artifactData[name]
 769             var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
 770             var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
 771             var pf = o.platform
 772             var jcovName = name + "-jcov";
 773             profiles[jcovName].artifacts = {
 774                 jdk: {
 775                     local: "bundles/\\(jdk-jcov.*bin." + jdk_suffix + "\\)",
 776                     remote: [
 777                         "bundles/" + pf + "/jdk-jcov-" + data.version + "_" + pf + "_bin." + jdk_suffix
 778                     ],




 738 
 739     // For open profiles, the non-debug jdk bundles, need an "open" prefix on the
 740     // remote bundle names, forming the word "openjdk". See JDK-8188789.
 741     common.main_profile_names.forEach(function (name) {
 742         var openName = name + common.open_suffix;
 743         profiles[openName].artifacts["jdk"].remote = replaceAll(
 744             "\/jdk-", "/openjdk-",
 745             replaceAll("\/\\1", "/open\\1",
 746                        profiles[openName].artifacts["jdk"].remote));
 747     });
 748 
 749     // Generate cmp-baseline profiles for each main profile and their
 750     // corresponding debug profile. This profile does a compare build run with no
 751     // changes to verify that the compare script has a clean baseline
 752     common.main_profile_names.forEach(function (name) {
 753         [ "", common.open_suffix ].forEach(function (suffix) {
 754             var cmpBaselineName = name + suffix + "-cmp-baseline";
 755             profiles[cmpBaselineName] = clone(profiles[name + suffix]);
 756             // Only compare the images target. This should pressumably be expanded
 757             // to include more build targets when possible.
 758             profiles[cmpBaselineName].default_make_targets = [ "images", "test-image" ];
 759             if (name == "linux-x64") {
 760                 profiles[cmpBaselineName].default_make_targets
 761                     = concat(profiles[cmpBaselineName].default_make_targets, "docs");
 762             }
 763             profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
 764             // Do not inherit artifact definitions from base profile
 765             delete profiles[cmpBaselineName].artifacts;
 766         });
 767     });
 768 
 769     // Artifacts of JCov profiles
 770     [ "linux-x64", "macosx-x64", "solaris-sparcv9", "windows-x64"]
 771         .forEach(function (name) {
 772             var o = artifactData[name]
 773             var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
 774             var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
 775             var pf = o.platform
 776             var jcovName = name + "-jcov";
 777             profiles[jcovName].artifacts = {
 778                 jdk: {
 779                     local: "bundles/\\(jdk-jcov.*bin." + jdk_suffix + "\\)",
 780                     remote: [
 781                         "bundles/" + pf + "/jdk-jcov-" + data.version + "_" + pf + "_bin." + jdk_suffix
 782                     ],


< prev index next >