Skip to content

Commit 8f7dc04

Browse files
jasonkatonicapshipton
authored andcommitted
OpenJCEPlusFIPS testing for Java 21, 22 and s390x (#5128)
The OpenJCEPlus provider is now being bunlded on Java 21 and Java 22 releases. In addition the s390x platform also now bundles OpenJCEPlus on Java 17, 21, and 22.
1 parent 37ebb20 commit 8f7dc04

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

buildenv/jenkins/JenkinsfileBase

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def setupEnv() {
106106
NUM_MACHINES = params.NUM_MACHINES ? params.NUM_MACHINES.toInteger() : 1
107107
env.LIB_DIR="${WORKSPACE}/../../testDependency/lib"
108108
env.OPENJCEPLUS_GIT_REPO = params.OPENJCEPLUS_GIT_REPO ?: "https://github.com/IBM/OpenJCEPlus.git"
109-
env.OPENJCEPLUS_GIT_BRANCH = params.OPENJCEPLUS_GIT_BRANCH ?: "main"
109+
env.OPENJCEPLUS_GIT_BRANCH = params.OPENJCEPLUS_GIT_BRANCH ?: "java${params.JDK_VERSION}"
110110

111111

112112
if (JOB_NAME.contains("Grinder")) {

functional/OpenJcePlusTests/build.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<property name="openjceplusGitBranch" value="${env.OPENJCEPLUS_GIT_BRANCH}"/>
5252
</then>
5353
<else>
54-
<property name="openjceplusGitBranch" value="main"/>
54+
<property name="openjceplusGitBranch" value="java${JDK_VERSION}"/>
5555
</else>
5656
</if>
5757

@@ -111,12 +111,15 @@
111111
<and>
112112
<equals arg1="${JDK_VENDOR}" arg2="ibm" />
113113
<equals arg1="${JDK_IMPL}" arg2="openj9" />
114-
<equals arg1="${JDK_VERSION}" arg2="17" />
114+
<not>
115+
<matches string="${JDK_VERSION}" pattern="^(8|11)$$" />
116+
</not>
115117
<or>
116118
<contains string="${SPEC}" substring="aix_ppc-64"/>
117119
<contains string="${SPEC}" substring="linux_ppc-64_le"/>
118120
<contains string="${SPEC}" substring="linux_x86-64"/>
119121
<contains string="${SPEC}" substring="win_x86-64"/>
122+
<contains string="${SPEC}" substring="linux_390-64"/>
120123
</or>
121124
</and>
122125
</or>

functional/OpenJcePlusTests/playlist.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<vendor>eclipse</vendor>
2222
</disable>
2323
<disable>
24-
<comment>Only applicable on aix, pliunx, xlinux and wins64 atm</comment>
25-
<platform>^((?!(ppc64_aix|ppc64le_linux|x86-64_linux|x86-64_windows)).)*$</platform>
24+
<comment>Only applicable on aix, pliunx, xlinux, wins64 and zlinux atm</comment>
25+
<platform>^((?!(ppc64_aix|ppc64le_linux|x86-64_linux|x86-64_windows|s390x_linux)).)*$</platform>
2626
</disable>
2727
</disables>
2828
<command>ant -f ${BUILD_ROOT}/functional/OpenJcePlusTests/test.xml -DTEST_JAVA=$(Q)$(JAVA_COMMAND)$(Q) launch_test; \
@@ -34,7 +34,7 @@
3434
<group>functional</group>
3535
</groups>
3636
<versions>
37-
<version>17</version>
37+
<version>17+</version>
3838
</versions>
3939
<impls>
4040
<impl>openj9</impl>

0 commit comments

Comments
 (0)