Skip to content

Commit a409e8e

Browse files
Update Java in performance pipeline (#1086)
Update performance pipeline to use Java 26 and make it the only option. Signed-off-by: Kostas Tsiounis <kostas.tsiounis@ibm.com>
1 parent 846d91c commit a409e8e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ pipeline {
325325
Typically this will use https://github.com/IBM/OpenJCEPlus')
326326
string(name: 'OPENJCEPLUS_BRANCH', defaultValue: '', description: '\
327327
The OpenJCEPlus branch to be used. When not specified this will default to the branch scanned by this multibranch pipeline.')
328-
choice(name: 'JAVA_VERSION', choices: ['26', '25', '24', '23', '22', '21', '17', '11'], description: '\
328+
string(name: 'JAVA_VERSION', defaultValue: '26', description: '\
329329
Specify the Java version your branch uses to build.')
330330
string(name: 'JAVA_RELEASE', defaultValue: '', description: '\
331331
Indicate a specific Java release that you want to use to build your branch.<br> \

JenkinsfilePerformance

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright IBM Corp. 2025
2+
* Copyright IBM Corp. 2025, 2026
33
*
44
* This code is free software; you can redistribute it and/or modify it
55
* under the terms provided by IBM in the LICENSE file that accompanied
@@ -215,7 +215,9 @@ def run(platform) {
215215
}
216216
}
217217

218-
externalLibrary.getJava(hardware, software)
218+
withCredentials([usernamePassword(credentialsId: '7c1c2c28-650f-49e0-afd1-ca6b60479546', passwordVariable: 'ARTIFACTORY_PASSWORD', usernameVariable: 'ARTIFACTORY_USERNAME')]) {
219+
externalLibrary.getJava(hardware, software)
220+
}
219221
echo "Java fetched"
220222
externalLibrary.getBinaries(hardware, software)
221223
echo "Binaries fetched"
@@ -301,7 +303,7 @@ pipeline {
301303
Typically this will use https://github.com/IBM/OpenJCEPlus')
302304
string(name: 'OPENJCEPLUS_BRANCH', defaultValue: '', description: '\
303305
The OpenJCEPlus branch to be used. When not specified this will default to the branch scanned by this multibranch pipeline.')
304-
choice(name: 'JAVA_VERSION', choices: ['25', '24', '23', '22', '21', '17', '11'], description: '\
306+
string(name: 'JAVA_VERSION', defaultValue: '26', description: '\
305307
Specify the Java version your branch uses to build.')
306308
string(name: 'JAVA_RELEASE', defaultValue: '', description: '\
307309
Indicate a specific Java release that you want to use to build your branch.<br> \

0 commit comments

Comments
 (0)