Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jenkins pipeline #18069

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-All.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
* ENABLE_SUMMARY_AUTO_REFRESH: Boolean - flag to enable the downstream summary auto-refresh, default: false
*/

CURRENT_RELEASES = ['8', '11', '17', '20', '21', 'next']
CURRENT_RELEASES = ['8', '11', '17', '21', 'next']

SPECS = ['ppc64_aix' : CURRENT_RELEASES,
'ppc64le_linux' : CURRENT_RELEASES,
Expand Down Expand Up @@ -124,7 +124,7 @@ SPECS = ['ppc64_aix' : CURRENT_RELEASES,

// SHORT_NAMES is used for PullRequest triggers
// TODO Combine SHORT_NAMES and SPECS
SHORT_NAMES = ['all' : ['ppc64le_linux','s390x_linux','x86-64_linux','ppc64_aix','x86-64_windows','x86-32_windows','x86-64_mac', 'aarch64_linux', 'aarch64_mac'],
SHORT_NAMES = ['all' : ['ppc64le_linux', 's390x_linux', 'x86-64_linux', 'ppc64_aix', 'x86-64_windows', 'x86-32_windows', 'x86-64_mac', 'aarch64_linux', 'aarch64_mac'],
'aix' : ['ppc64_aix'],
'zlinux' : ['s390x_linux'],
'zlinuxcriu' : ['s390x_linux_criu'],
Expand All @@ -144,6 +144,7 @@ SHORT_NAMES = ['all' : ['ppc64le_linux','s390x_linux','x86-64_linux','ppc64_aix'
'win' : ['x86-64_windows'],
'osx' : ['x86-64_mac'],
'xmac' : ['x86-64_mac'],
'alinux' : ['aarch64_linux'],
'alinux64' : ['aarch64_linux'],
'alinux64criu' : ['aarch64_linux_criu'],
'alinux64gcc11' : ['aarch64_linux_gcc11'],
Expand Down Expand Up @@ -501,7 +502,7 @@ def get_node_labels(NODE_LABELS, SPECS) {
NODE_LABELS.trim().split(",").each { ITEM ->
def ENTRY = ITEM.trim().split("=")
if (ENTRY.size() != 2) {
error("Invalid format for node labels: ${ITEM}! Expected value: spec1=labels1,spec2=labels2,...,specNe=labelsN e.g. aix_ppc-64_cmprssptrs=csp70027,linux_x86-64=(ci.project.openj9 && hw.arch.x86 && sw.os.ubuntu.14)")
error("Invalid format for node labels: ${ITEM}! Expected value: spec1=labels1,spec2=labels2,...,specN=labelsN e.g. aix_ppc-64_cmprssptrs=csp70027,linux_x86-64=(ci.project.openj9 && hw.arch.x86 && sw.os.ubuntu.14)")
}

if (!SPECS.contains(ENTRY[0].trim())) {
Expand Down Expand Up @@ -687,10 +688,10 @@ def draw_summary_table() {
if (ENABLE_SUMMARY_AUTO_REFRESH) {
def actions = manager.build.actions
for (int i = 0; i < actions.size(); i++) {
def action = actions.get(i)
if (action.metaClass && action.metaClass.hasProperty(action, "text") && action.text.contains("Downstream Jobs Status")) {
actions.remove(action)
}
def action = actions.get(i)
if (action.metaClass && action.metaClass.hasProperty(action, "text") && action.text.contains("Downstream Jobs Status")) {
actions.remove(action)
}
}
}

Expand Down
11 changes: 0 additions & 11 deletions buildenv/jenkins/variables/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ openjdk:
default:
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk17.git'
branch: 'openj9'
20:
default:
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk20.git'
branch: 'openj9'
21:
default:
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk21.git'
Expand Down Expand Up @@ -110,7 +106,6 @@ build_discarder:
OpenJDK8: 5
OpenJDK11: 5
OpenJDK17: 10
OpenJDK20: 10
OpenJDK21: 10
OpenJDK: 10
Personal: 30
Expand Down Expand Up @@ -157,7 +152,6 @@ boot_jdk_default:
8: '8'
11: '11'
17: '17'
20: '19'
21: '20'
next: '20'
dir_strip:
Expand Down Expand Up @@ -238,7 +232,6 @@ s390x_linux:
extra_test_labels:
11: '!sw.os.rhel.8'
17: '!sw.os.rhel.8'
20: '!sw.os.rhel.8'
21: '!sw.os.rhel.8'
next: '!sw.os.rhel.8'
build_env:
Expand Down Expand Up @@ -272,15 +265,13 @@ ppc64_aix:
8: ' --disable-ccache'
11: '--disable-warnings-as-errors'
17: '--disable-warnings-as-errors'
20: '--disable-warnings-as-errors'
21: '--disable-warnings-as-errors'
next: '--disable-warnings-as-errors'
build_env:
vars:
8: 'PATH+XLC=/opt/IBM/xlC/13.1.3/bin:/opt/IBM/xlc/13.1.3/bin'
11: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
17: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
20: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
21: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
next: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
#========================================#
Expand Down Expand Up @@ -314,7 +305,6 @@ x86-64_linux:
extra_test_labels:
11: '!sw.os.cent.6'
17: '!sw.os.cent.6'
20: '!sw.os.cent.6'
21: '!sw.os.cent.6'
next: '!sw.os.cent.6'
#========================================#
Expand Down Expand Up @@ -364,7 +354,6 @@ x86-64_windows:
8: '--with-toolchain-version=2019'
11: '--with-toolchain-version=2019'
17: '--with-toolchain-version=2019'
20: '--with-toolchain-version=2022'
21: '--with-toolchain-version=2022'
next: '--with-toolchain-version=2022'
node_labels:
Expand Down