8218177: Bump jib format_version to support new devkit archive layout

Reviewed-by: ihse, tbell
This commit is contained in:
Erik Joelsson 2019-02-05 09:53:33 -08:00
parent 8f5e561d19
commit 958a739be9

View File

@ -76,6 +76,7 @@
* install_path
* download_path
* download_dir
* home_path
*
*
* The output data generated by this configuration file has the following
@ -185,7 +186,9 @@ var getJibProfiles = function (input) {
// Identifies the version of this format to the tool reading it.
// 1.1 signifies that the publish, publish-src and get-src features are usable.
// 1.2 signifies that artifact uploads should fail on missing artifacts by default.
data.format_version = "1.2";
// 1.3 input.get(<dep>, "home_path") automatically goes down into a single top
// dir just like default configure_args and environment_path variables.
data.format_version = "1.3";
// Organization, product and version are used when uploading/publishing build results
data.organization = "";
@ -363,7 +366,7 @@ var getJibProfilesCommon = function (input, data) {
};
common.boot_jdk_version = "11";
common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
+ common.boot_jdk_version
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@ -486,7 +489,7 @@ var getJibProfilesProfiles = function (input, common, data) {
var testmakeBase = {
dependencies: [ "ant" ],
environment: {
"ANT_HOME": input.get("ant", "install_path") + "/apache-ant-1.7.1"
"ANT_HOME": input.get("ant", "home_path")
}
};
[ "linux-x64", "macosx-x64", "solaris-sparcv9", "solaris-x64", "windows-x64"]
@ -861,7 +864,7 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc7.3.0-OEL6.4+1.1",
linux_x64: "gcc7.3.0-OEL6.4+1.2",
macosx_x64: "Xcode9.4-MacOSX10.13+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u6-Solaris11u3+1.0",
@ -1003,8 +1006,7 @@ var getJibProfilesDependencies = function (input, common) {
classifier: "distribution",
revision: "3.0-SNAPSHOT",
environment_name: "JIB_HOME",
environment_value: input.get("jib", "install_path")
+ "/jib-3.0-SNAPSHOT-distribution"
environment_value: input.get("jib", "home_path")
},
ant: {