Skip to content

Commit

Permalink
Merge pull request #4231 from vsebe/jenkins.openssl
Browse files Browse the repository at this point in the history
Enable OpenSSL per platform in Jenkins build pipeline
  • Loading branch information
pshipton committed Jan 28, 2019
2 parents 2d4c73c + d7368d0 commit 6eddf18
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion buildenv/jenkins/common/variables-functions
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def set_build_variables() {
// fetch values per spec and Java version from the variables file
BOOT_JDK = get_value(VARIABLES."${SPEC}".boot_jdk, SDK_VERSION)
FREEMARKER = VARIABLES."${SPEC}".freemarker
EXTRA_GETSOURCE_OPTIONS = get_value(VARIABLES.extra_getsource_options, SDK_VERSION)
EXTRA_GETSOURCE_OPTIONS = get_value(VARIABLES."${SPEC}".extra_getsource_options, SDK_VERSION)
EXTRA_CONFIGURE_OPTIONS = get_value(VARIABLES."${SPEC}".extra_configure_options, SDK_VERSION)
EXTRA_MAKE_OPTIONS = get_value(VARIABLES."${SPEC}".extra_make_options, SDK_VERSION)
OPENJDK_REFERENCE_REPO = VARIABLES."${SPEC}".openjdk_reference_repo
Expand Down
25 changes: 22 additions & 3 deletions buildenv/jenkins/variables/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ build_discarder:
build: 10
pipeline: 0
pullRequest: 0
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
restart_timeout:
time: '5'
units: 'HOURS'
Expand Down Expand Up @@ -104,6 +101,9 @@ linux_ppc-64_cmprssptrs_le:
11: 'ci.role.build && hw.arch.ppc64le && sw.os.ubuntu'
12: 'ci.role.build && hw.arch.ppc64le && sw.os.ubuntu'
next: 'ci.role.build && hw.arch.ppc64le && sw.os.ubuntu'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-openssl=fetched --enable-openssl-bundling'
11: '--with-openssl=fetched --enable-openssl-bundling'
Expand Down Expand Up @@ -149,6 +149,9 @@ linux_390-64_cmprssptrs:
11: 'CC=gcc-7 CXX=g++-7'
12: 'CC=gcc-7 CXX=g++-7'
next: 'CC=gcc-7 CXX=g++-7'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-openssl=fetched --enable-openssl-bundling'
11: '--with-openssl=fetched --enable-openssl-bundling'
Expand Down Expand Up @@ -215,6 +218,9 @@ linux_x86-64_cmprssptrs:
11: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
12: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
next: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-openssl=fetched --enable-openssl-bundling'
11: '--with-openssl=fetched --enable-openssl-bundling'
Expand Down Expand Up @@ -252,6 +258,10 @@ linux_x86-64_cmprssptrs_cmake:
11: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
12: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
next: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
next: 'hw.arch.x86 && sw.os.ubuntu'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-cmake --disable-ddr --with-openssl=fetched --enable-openssl-bundling'
9: '--with-cmake --disable-ddr'
Expand Down Expand Up @@ -300,6 +310,9 @@ linux_x86-64:
11: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
12: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
next: 'ci.role.build && hw.arch.x86 && sw.os.ubuntu'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-noncompressedrefs --with-openssl=fetched --enable-openssl-bundling'
9: '--with-noncompressedrefs'
Expand Down Expand Up @@ -386,6 +399,9 @@ osx_x86-64_cmprssptrs:
11: 'macosx-x86_64-normal-server-release'
12: 'macosx-x86_64-server-release'
next: 'macosx-x86_64-server-release'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-xcode-path=/Users/jenkins/Xcode4/Xcode.app --with-openj9-cc=/Users/jenkins/Xcode7/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --with-openj9-cxx=/Users/jenkins/Xcode7/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ --with-openj9-developer-dir=/Users/jenkins/Xcode7/Xcode.app/Contents/Developer --with-openssl=fetched --enable-openssl-bundling'
11: '--with-openssl=fetched --enable-openssl-bundling'
Expand Down Expand Up @@ -414,6 +430,9 @@ osx_x86-64:
11: 'macosx-x86_64-normal-server-release'
12: 'macosx-x86_64-server-release'
next: 'macosx-x86_64-server-release'
extra_getsource_options:
8: '--openssl-version=1.1.1a'
11: '--openssl-version=1.1.1a'
extra_configure_options:
8: '--with-noncompressedrefs --with-xcode-path=/Users/jenkins/Xcode4/Xcode.app --with-openj9-cc=/Users/jenkins/Xcode7/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --with-openj9-cxx=/Users/jenkins/Xcode7/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ --with-openj9-developer-dir=/Users/jenkins/Xcode7/Xcode.app/Contents/Developer --with-openssl=fetched --enable-openssl-bundling'
11: '--with-noncompressedrefs --with-openssl=fetched --enable-openssl-bundling'
Expand Down

0 comments on commit 6eddf18

Please sign in to comment.