Path: blob/master/buildenv/jenkins/variables/defaults.yml
12838 views
###############################################################################1# Copyright (c) 2018, 2022 IBM Corp. and others2#3# This program and the accompanying materials are made available under4# the terms of the Eclipse Public License 2.0 which accompanies this5# distribution and is available at https://www.eclipse.org/legal/epl-2.0/6# or the Apache License, Version 2.0 which accompanies this distribution and7# is available at https://www.apache.org/licenses/LICENSE-2.0.8#9# This Source Code may also be made available under the following10# Secondary Licenses when the conditions for such availability set11# forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12# General Public License, version 2 with the GNU Classpath13# Exception [1] and GNU General Public License, version 2 with the14# OpenJDK Assembly Exception [2].15#16# [1] https://www.gnu.org/software/classpath/license.html17# [2] http://openjdk.java.net/legal/assembly-exception.html18#19# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception20###############################################################################21#========================================#22# Git repositories23#========================================#24# Eclipse OpenJ9 extensions repositories25openjdk:268:27default:28repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk8.git'29branch: 'openj9'3011:31default:32repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk11.git'33branch: 'openj9'3417:35default:36repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk17.git'37branch: 'openj9'3818:39default:40repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk18.git'41branch: 'openj9'42next:43default:44repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk.git'45branch: 'openj9'46[aarch64_linux_valhalla, aarch64_linux_vt_standard, ppc64_aix_valhalla, ppc64_aix_vt_standard, ppc64le_linux_valhalla, ppc64le_linux_vt_standard, s390x_linux_valhalla, s390x_linux_vt_standard, x86-64_mac_valhalla, x86-64_mac_vt_standard, x86-64_linux_valhalla, x86-64_linux_vt_standard, x86-64_windows_valhalla, x86-64_windows_vt_standard]:47repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk.valuetypes.git'48branch: 'openj9'49# OpenJ9 & OMR Repos (used by ref repo updater)50openj9:51default:52repoUrl: 'https://github.com/eclipse-openj9/openj9.git'53omr:54default:55repoUrl: 'https://github.com/eclipse/omr.git'56# Adoptium AQA Testing repository57adoptopenjdk:58default:59repoUrl: 'https://github.com/adoptium/aqa-tests.git'60branch: 'master'61#========================================#62# Artifactory settings63#========================================#64artifactory:65defaultGeo: 'osu'66server:67osu: 'ci-eclipse-openj9'68unb: 'ci-eclipse-openj9-unb'69repo:70default: 'ci-openj9'71uploadDir:72default: "${repo}/${JOB_NAME}/${BUILD_ID}"73daysToKeepArtifacts:74osu: 4075unb: 3076manualCleanup:77osu: true78unb: true79vpn:80osu: false81unb: true82#========================================#83# Miscellaneous settings84#========================================#85misc:86jdk_image_dir:87all: 'jdk'888: 'j2sdk-image'89test_keep_reportdir:90sanity.openjdk: 'true'91extended.openjdk: 'true'92special.openjdk: 'true'93sdk_filename_template:94default: "OpenJ9-JDK${SDK_VERSION}-${SPEC}-${DATESTAMP}${SDK_FILE_EXT}"95credentials:96github: 'github-bot'97dockerhub: 'docker-login'98test_dependencies_job_name: 'test.getDependency'99slack_channel: '#jenkins'100build_discarder:101logs:102Nightly: 40103Release: 5104OMR: 15105OpenJDK8: 5106OpenJDK11: 5107OpenJDK17: 10108OpenJDK18: 10109OpenJDK: 10110Personal: 30111Pipeline: 100112restart_timeout:113time: '5'114units: 'HOURS'115#========================================#116# Debug information117#========================================#118debuginfo:119extra_configure_options:1208: '--disable-zip-debug-info'121#========================================#122# JITServer123#========================================#124jitserver:125extra_configure_options: '--enable-jitserver'126test_flags: 'JITAAS'127#========================================#128# OpenSSL129#========================================#130openssl:131extra_getsource_options: '--openssl-version=1.1.1m'132extra_configure_options: '--with-openssl=fetched'133#========================================#134# OpenSSL Bundling135#========================================#136openssl_bundle:137extra_configure_options: --enable-openssl-bundling138#========================================#139# Reference Repo140#========================================#141openjdk_reference_repo:142openjdk_reference_repo: '/home/jenkins/openjdk_cache'143#========================================#144# BootJDK Default values145#========================================#146boot_jdk_default:147boot_jdk:148location:149all: '${HOME}/bootjdks'150version:1518: '8'15211: '11'15317: '17'15418: '17'155next: '17'156dir_strip:157all: '1'158url:159all: "https://api.adoptopenjdk.net/v3/binary/latest/${bootJDKVersion}/ga/${os}/${arch}/jdk/openj9/normal/adoptopenjdk?project=jdk"160#========================================#161# CRIU162#========================================#163criu:164extra_configure_options: '--enable-criu-support'165#========================================#166# Cuda167#========================================#168cuda:169extra_configure_options: '--enable-cuda'170#========================================#171# Cuda with version172#========================================#173cuda_version:174extends: ['cuda']175extra_configure_options: '--with-cuda=/usr/local/cuda-9.0'176#========================================#177# Valhalla178#========================================#179valhalla:180extra_configure_options: '--enable-inline-types'181test_build_list: 'functional/Valhalla,functional/cmdline_options_tester,functional/cmdLineTests/valuetypeddrtests'182#========================================#183# Valhalla Standard Testing184#========================================#185valhalla_standard:186extra_configure_options: '--enable-inline-types'187#========================================#188# OpenJDK JSR292189#========================================#190ojdk292:191extra_configure_options: '--enable-openjdk-methodhandles'192#========================================#193# Linux PPCLE 64bits194#========================================#195ppc64le_linux:196extends: ['boot_jdk_default', 'cuda_version', 'debuginfo', 'openjdk_reference_repo', 'openssl']197boot_jdk:198arch: 'ppc64le'199os: 'linux'200release:201all: 'linux-ppc64le-server-release'2028: 'linux-ppc64le-normal-server-release'20311: 'linux-ppc64le-normal-server-release'204node_labels:205build: 'ci.role.build && hw.arch.ppc64le && sw.os.cent.7'206extra_configure_options:207all: '--enable-jitserver'208build_env:209cmd: 'source /home/jenkins/set_gcc7.5.0_env'210#========================================#211# Linux PPCLE 64bits /w JITSERVER212#========================================#213ppc64le_linux_jit:214extends: ['ppc64le_linux', 'jitserver']215#========================================#216# Linux S390 64bits217# Note: boot_jdk 8 must use an Adopt JDK8 build rather than an218# IBM 7 for the bootJDK or compiling corba will fail to find Object.219#========================================#220s390x_linux:221extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl']222boot_jdk:223arch: 's390x'224os: 'linux'225release:226all: 'linux-s390x-server-release'2278: 'linux-s390x-normal-server-release'22811: 'linux-s390x-normal-server-release'229node_labels:230build: 'ci.role.build && hw.arch.s390x && sw.os.rhel.7'231build_env:232cmd: 'source /home/jenkins/set_gcc7.5.0_env'233excluded_tests:2348:235- special.system236#========================================#237# Linux S390 64bits /w JITSERVER238#========================================#239s390x_linux_jit:240extends: ['s390x_linux', 'jitserver']241#========================================#242# AIX PPC 64bits243#========================================#244ppc64_aix:245extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl']246boot_jdk:247location: '/opt/bootjdks'248arch: 'ppc64'249os: 'aix'250release:251all: 'aix-ppc64-server-release'2528: 'aix-ppc64-normal-server-release'25311: 'aix-ppc64-normal-server-release'254node_labels:255build: 'ci.role.build && hw.arch.ppc64 && sw.os.aix'256extra_configure_options:257all: '--with-cups-include=/opt/freeware/include'2588: ' --disable-ccache'25911: '--disable-warnings-as-errors'26017: '--disable-warnings-as-errors'26118: '--disable-warnings-as-errors'262next: '--disable-warnings-as-errors'263build_env:264vars:2658: 'PATH+XLC=/opt/IBM/xlC/13.1.3/bin:/opt/IBM/xlc/13.1.3/bin'26611: 'PATH+XLC=/opt/IBM/xlC/13.1.3/bin:/opt/IBM/xlc/13.1.3/bin'26717: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'26818: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'269next: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'270excluded_tests:2718:272- special.system273#========================================#274# Linux x86 64bits275#========================================#276x86-64_linux:277extends: ['boot_jdk_default', 'cuda_version', 'debuginfo', 'openjdk_reference_repo', 'openssl']278boot_jdk:279arch: 'x64'280os: 'linux'281release:282all: 'linux-x86_64-server-release'2838: 'linux-x86_64-normal-server-release'28411: 'linux-x86_64-normal-server-release'285node_labels:286build:287all: 'ci.role.build && hw.arch.x86 && sw.os.cent.7'2888: 'ci.role.build && hw.arch.x86 && sw.tool.docker'28911: 'ci.role.build && hw.arch.x86 && sw.tool.docker'290docker_image:2918: 'eclipseopenj9/jenkins-agent-x86-centos6:16'29211: 'eclipseopenj9/jenkins-agent-x86-centos6:16'293extra_configure_options:294all: '--enable-jitserver'295build_env:296cmd:29717: 'source /home/jenkins/set_gcc7.5.0_env'29818: 'source /home/jenkins/set_gcc7.5.0_env'299next: 'source /home/jenkins/set_gcc7.5.0_env'300vars: 'OPENJ9_JAVA_OPTIONS=-Xdump:system+java:events=systhrow,filter=java/lang/ClassCastException,request=exclusive+prepwalk+preempt'301extra_test_labels:30217: '!sw.os.cent.6'30318: '!sw.os.cent.6'304next: '!sw.os.cent.6'305excluded_tests:30611:307- special.system308#========================================#309# Linux x86 64bits /w JITSERVER310#========================================#311x86-64_linux_jit:312extends: ['x86-64_linux', 'jitserver']313#========================================#314# Linux Aarch 64bits315#========================================#316aarch64_linux:317extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl']318boot_jdk:319arch: 'aarch64'320os: 'linux'321release:322all: 'linux-aarch64-server-release'3238: 'linux-aarch64-normal-server-release'32411: 'linux-aarch64-normal-server-release'325node_labels:326build: 'ci.role.build && hw.arch.aarch64 && sw.tool.docker'327docker_image: 'adoptopenjdk/centos7_build_image@sha256:b2cc072a5c6196461a0993c6817d7540b8c8fcbce40f63cd5bb49eb6d7d61d89'328build_env:329vars: 'CC=/usr/local/gcc/bin/gcc-7.5 CXX=/usr/local/gcc/bin/g++-7.5'330#========================================#331# Windows x86 64bits332#========================================#333x86-64_windows:334extends: ['boot_jdk_default', 'cuda', 'debuginfo', 'openjdk_reference_repo', 'openssl', 'openssl_bundle']335boot_jdk:336location:337all: '/cygdrive/f/Users/jenkins/bootjdks'338arch: 'x64'339os: 'windows'340release:341all: 'windows-x86_64-server-release'3428: 'windows-x86_64-normal-server-release'34311: 'windows-x86_64-normal-server-release'344freemarker: '/cygdrive/c/openjdk/freemarker.jar'345extra_configure_options:346all: '--disable-ccache --with-cuda="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0"'3478: '--with-toolchain-version=2013 --with-freetype-src=/cygdrive/c/openjdk/freetype-2.5.3'34811: '--with-toolchain-version=2017'34917: '--with-toolchain-version=2019'35018: '--with-toolchain-version=2019'351next: '--with-toolchain-version=2019'352node_labels:353build: 'ci.role.build && hw.arch.x86 && sw.os.windows'354build_env:355vars: 'PATH+TOOLS=/cygdrive/c/openjdk/LLVM64/bin:/cygdrive/c/openjdk/nasm-2.13.03'356excluded_tests:3578:358- special.system35911:360- special.system361#========================================#362# Windows x86 32bits363#========================================#364x86-32_windows:365extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl', 'openssl_bundle']366boot_jdk:367location:368all: '/cygdrive/f/Users/jenkins/bootjdks'369arch: 'x64'370os: 'windows'371release:3728: 'windows-x86-normal-server-release'373extra_configure_options:3748: '--with-toolchain-version=2013 --with-freetype-src=/cygdrive/c/openjdk/freetype-2.5.3 --with-target-bits=32 --disable-ccache'375freemarker: '/cygdrive/c/openjdk/freemarker.jar'376node_labels:377build:3788: 'ci.role.build && hw.arch.x86 && sw.os.windows'379build_env:380vars:3818: 'PATH+TOOLS=/cygdrive/c/openjdk/LLVM32/bin:/cygdrive/c/openjdk/nasm-2.13.03'382excluded_tests:3838:384- special.system385#========================================#386# OSX x86 64bits387#========================================#388x86-64_mac:389extends: ['boot_jdk_default', 'debuginfo', 'openssl', 'openssl_bundle']390boot_jdk:391arch: 'x64'392os: 'mac'393dir_strip:394all: '3'395release:396all: 'macosx-x86_64-server-release'3978: 'macosx-x86_64-normal-server-release'39811: 'macosx-x86_64-normal-server-release'399extra_configure_options:4008: '--with-toolchain-type=clang --with-freetype=/usr/local/freetype-2.9.1'401freemarker: '/Users/jenkins/freemarker.jar'402openjdk_reference_repo: '/Users/jenkins/openjdk_cache'403node_labels:404build: 'ci.role.build && hw.arch.x86 && sw.os.mac.10_14'405build_env:406vars: 'OPENJ9_JAVA_OPTIONS=-Xdump:system+java:events=systhrow,filter=java/lang/ClassCastException,request=exclusive+prepwalk+preempt'407excluded_tests:4088:409- special.system41011:411- special.system412#========================================#413# Mac M1 Aarch64414#========================================#415aarch64_mac:416extends: ['boot_jdk_default', 'openssl', 'openssl_bundle']417boot_jdk:418arch: 'aarch64'419os: 'mac'420dir_strip:421all: '3'422release:423all: 'macosx-aarch64-server-release'4248: 'macosx-aarch64-normal-server-release'42511: 'macosx-aarch64-normal-server-release'426extra_configure_options:427all: '--disable-warnings-as-errors --with-noncompressedrefs --disable-ddr'428openjdk_reference_repo: '/Users/jenkins/openjdk_cache'429node_labels:430build: 'ci.role.build && hw.arch.aarch64 && sw.os.mac'431excluded_tests:4328:433- special.system43411:435- special.system436#========================================#437# Linux PPCLE 64bits /w OpenJDK JSR292438#========================================#439ppc64le_linux_ojdk292:440extends: ['ppc64le_linux', 'ojdk292']441#========================================#442# Linux S390 64bits /w OpenJDK JSR292443#========================================#444s390x_linux_ojdk292:445extends: ['s390x_linux', 'ojdk292']446#========================================#447# AIX PPC 64bits /w OpenJDK JSR292448#========================================#449ppc64_aix_ojdk292:450extends: ['ppc64_aix', 'ojdk292']451#========================================#452# Linux x86 64bits /w OpenJDK JSR292453#========================================#454x86-64_linux_ojdk292:455extends: ['x86-64_linux', 'ojdk292']456#========================================#457# Windows x86 64bits /w OpenJDK JSR292458#========================================#459x86-64_windows_ojdk292:460extends: ['x86-64_windows', 'ojdk292']461#========================================#462# Windows x86 32bits /w OpenJDK JSR292463#========================================#464x86-32_windows_ojdk292:465extends: ['x86-32_windows', 'ojdk292']466#========================================#467# OSX x86 64bits /w OpenJDK JSR292468#========================================#469x86-64_mac_ojdk292:470extends: ['x86-64_mac', 'ojdk292']471#========================================#472# Linux Aarch64 64bits /w OpenJDK JSR292473#========================================#474aarch64_linux_ojdk292:475extends: ['aarch64_linux', 'ojdk292']476#========================================#477# AOT testing478#========================================#479aot:480test_flags: 'AOT'481ppc64_aix_aot:482extends: ['ppc64_aix', 'aot']483ppc64le_linux_aot:484extends: ['ppc64le_linux', 'aot']485s390x_linux_aot:486extends: ['s390x_linux', 'aot']487x86-64_linux_aot:488extends: ['x86-64_linux', 'aot']489x86-64_mac_aot:490extends: ['x86-64_mac', 'aot']491x86-64_windows_aot:492extends: ['x86-64_windows', 'aot']493#========================================#494# Valhalla Testing495#========================================#496x86-64_linux_valhalla:497extends: ['x86-64_linux', 'valhalla']498x86-64_linux_vt_standard:499extends: ['x86-64_linux', 'valhalla_standard']500ppc64le_linux_valhalla:501extends: ['ppc64le_linux', 'valhalla']502ppc64le_linux_vt_standard:503extends: ['ppc64le_linux', 'valhalla_standard']504x86-64_mac_valhalla:505extends: ['x86-64_mac', 'valhalla']506x86-64_mac_vt_standard:507extends: ['x86-64_mac', 'valhalla_standard']508x86-64_windows_valhalla:509extends: ['x86-64_windows', 'valhalla']510x86-64_windows_vt_standard:511extends: ['x86-64_windows', 'valhalla_standard']512aarch64_linux_valhalla:513extends: ['aarch64_linux', 'valhalla']514aarch64_linux_vt_standard:515extends: ['aarch64_linux', 'valhalla_standard']516ppc64_aix_valhalla:517extends: ['ppc64_aix_linux', 'valhalla']518ppc64_aix_vt_standard:519extends: ['ppc64_aix_linux', 'valhalla_standard']520s390x_linux_valhalla:521extends: ['s390x_linux', 'valhalla']522s390x_linux_vt_standard:523extends: ['s390x_linux', 'valhalla_standard']524#========================================#525# CRIU526#========================================#527x86-64_linux_criu:528extends: ['x86-64_linux', 'criu']529ppc64le_linux_criu:530extends: ['ppc64le_linux', 'criu']531s390x_linux_criu:532extends: ['s390x_linux', 'criu']533aarch64_linux_criu:534extends: ['aarch64_linux', 'criu']535536537