diff --git a/buildenv/jenkins/jobs/builds/Build-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/builds/Build-JDK10-linux_x86-64 new file mode 100644 index 00000000000..ef15eab8cb1 --- /dev/null +++ b/buildenv/jenkins/jobs/builds/Build-JDK10-linux_x86-64 @@ -0,0 +1,39 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' + +node('master') { + timestamps { + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('build') + buildfile = load 'buildenv/jenkins/common/build' + cleanWs() + } +} + +node("${NODE}") { + + buildfile.build_all() +} diff --git a/buildenv/jenkins/jobs/builds/Build-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/builds/Build-JDK8-linux_x86-64 new file mode 100644 index 00000000000..2f55c4379c7 --- /dev/null +++ b/buildenv/jenkins/jobs/builds/Build-JDK8-linux_x86-64 @@ -0,0 +1,39 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' + +node('master') { + timestamps { + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('build') + buildfile = load 'buildenv/jenkins/common/build' + cleanWs() + } +} + +node("${NODE}") { + + buildfile.build_all() +} diff --git a/buildenv/jenkins/jobs/builds/Build-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/builds/Build-JDK9-linux_x86-64 new file mode 100644 index 00000000000..41584de0d90 --- /dev/null +++ b/buildenv/jenkins/jobs/builds/Build-JDK9-linux_x86-64 @@ -0,0 +1,39 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' + +node('master') { + timestamps { + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('build') + buildfile = load 'buildenv/jenkins/common/build' + cleanWs() + } +} + +node("${NODE}") { + + buildfile.build_all() +} diff --git a/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-All b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-All index c90483a8e06..3862dc9827f 100644 --- a/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-All +++ b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-All @@ -21,7 +21,12 @@ *******************************************************************************/ def SDK_VERSIONS = ['8', '9', '10'] -def SPECS = ['linux_ppc-64_cmprssptrs_le', 'linux_390-64_cmprssptrs', 'aix_ppc-64_cmprssptrs', 'linux_x86-64_cmprssptrs', 'win_x86-64_cmprssptrs'] +def SPECS = ['linux_ppc-64_cmprssptrs_le', + 'linux_390-64_cmprssptrs', + 'aix_ppc-64_cmprssptrs', + 'linux_x86-64_cmprssptrs', + 'linux_x86-64', + 'win_x86-64_cmprssptrs'] def OPENJDK_REPOS = ['8': 'https://github.com/ibmruntimes/openj9-openjdk-jdk8.git', '9': 'https://github.com/ibmruntimes/openj9-openjdk-jdk9.git', diff --git a/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK10-linux_x86-64 new file mode 100644 index 00000000000..db332e43235 --- /dev/null +++ b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK10-linux_x86-64 @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' + +node('master') { + + checkout scm + def commonFile = load 'buildenv/jenkins/common/variables-functions' + commonFile.set_job_variables('pipeline') + + buildfile = load 'buildenv/jenkins/common/pipeline-functions' + SHAS = buildfile.get_shas(OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, OPENJ9_BRANCH, OMR_REPO, OMR_BRANCH) +} + +jobs = buildfile.workflow(SDK_VERSION, SPEC, SHAS, OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, OPENJ9_BRANCH, OMR_REPO, OMR_BRANCH, TESTS_TARGETS) diff --git a/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK8-linux_x86-64 new file mode 100644 index 00000000000..61d7052b5bd --- /dev/null +++ b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK8-linux_x86-64 @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' + +node('master') { + + checkout scm + def commonFile = load 'buildenv/jenkins/common/variables-functions' + commonFile.set_job_variables('pipeline') + + buildfile = load 'buildenv/jenkins/common/pipeline-functions' + SHAS = buildfile.get_shas(OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, OPENJ9_BRANCH, OMR_REPO, OMR_BRANCH) +} + +jobs = buildfile.workflow(SDK_VERSION, SPEC, SHAS, OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, OPENJ9_BRANCH, OMR_REPO, OMR_BRANCH, TESTS_TARGETS) diff --git a/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK9-linux_x86-64 new file mode 100644 index 00000000000..cd8b5b88514 --- /dev/null +++ b/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-JDK9-linux_x86-64 @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' + +node('master') { + + checkout scm + def commonFile = load 'buildenv/jenkins/common/variables-functions' + commonFile.set_job_variables('pipeline') + + buildfile = load 'buildenv/jenkins/common/pipeline-functions' + SHAS = buildfile.get_shas(OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, OPENJ9_BRANCH, OMR_REPO, OMR_BRANCH) +} + +jobs = buildfile.workflow(SDK_VERSION, SPEC, SHAS, OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, OPENJ9_BRANCH, OMR_REPO, OMR_BRANCH, TESTS_TARGETS) diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK10-linux_x86-64 new file mode 100644 index 00000000000..520e08960df --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK10-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + timestamps { + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('build') + buildfile = load 'buildenv/jenkins/common/build' + cleanWs() + } + } + + node("${NODE}") { + + buildfile.build_all() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK8-linux_x86-64 new file mode 100644 index 00000000000..951f4088292 --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK8-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + timestamps { + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('build') + buildfile = load 'buildenv/jenkins/common/build' + cleanWs() + } + } + + node("${NODE}") { + + buildfile.build_all() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK9-linux_x86-64 new file mode 100644 index 00000000000..4829faf7a29 --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Compile-JDK9-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + timestamps { + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('build') + buildfile = load 'buildenv/jenkins/common/build' + cleanWs() + } + } + + node("${NODE}") { + + buildfile.build_all() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK10-linux_x86-64 new file mode 100644 index 00000000000..7194c79772b --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK10-linux_x86-64 @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' +TEST_TARGET = '_extended' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('pullRequest') + cleanWs() + } + + node("${NODE}") { + + checkout scm + buildfile = load 'buildenv/jenkins/common/build' + testfile = load 'buildenv/jenkins/common/test' + cleanWs() + + // Build + buildfile.build_pr() + + // Test + archive_test = [:] + archive_test['Archive'] = { buildfile.archive() } + archive_test['Test'] = { testfile.test_all() } + + parallel archive_test + buildfile.git_clean() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK8-linux_x86-64 new file mode 100644 index 00000000000..5c89a9c9b72 --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK8-linux_x86-64 @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' +TEST_TARGET = '_extended' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('pullRequest') + cleanWs() + } + + node("${NODE}") { + + checkout scm + buildfile = load 'buildenv/jenkins/common/build' + testfile = load 'buildenv/jenkins/common/test' + cleanWs() + + // Build + buildfile.build_pr() + + // Test + archive_test = [:] + archive_test['Archive'] = { buildfile.archive() } + archive_test['Test'] = { testfile.test_all() } + + parallel archive_test + buildfile.git_clean() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK9-linux_x86-64 new file mode 100644 index 00000000000..20eeb4f9cb3 --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Extended-JDK9-linux_x86-64 @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' +TEST_TARGET = '_extended' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('pullRequest') + cleanWs() + } + + node("${NODE}") { + + checkout scm + buildfile = load 'buildenv/jenkins/common/build' + testfile = load 'buildenv/jenkins/common/test' + cleanWs() + + // Build + buildfile.build_pr() + + // Test + archive_test = [:] + archive_test['Archive'] = { buildfile.archive() } + archive_test['Test'] = { testfile.test_all() } + + parallel archive_test + buildfile.git_clean() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK10-linux_x86-64 new file mode 100644 index 00000000000..154a82d7ecc --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK10-linux_x86-64 @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' +TEST_TARGET = '_sanity' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('pullRequest') + cleanWs() + } + + node("${NODE}") { + + checkout scm + buildfile = load 'buildenv/jenkins/common/build' + testfile = load 'buildenv/jenkins/common/test' + cleanWs() + + // Build + buildfile.build_pr() + + // Test + archive_test = [:] + archive_test['Archive'] = { buildfile.archive() } + archive_test['Test'] = { testfile.test_all() } + + parallel archive_test + buildfile.git_clean() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK8-linux_x86-64 new file mode 100644 index 00000000000..440ec640cdb --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK8-linux_x86-64 @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' +TEST_TARGET = '_sanity' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('pullRequest') + cleanWs() + } + + node("${NODE}") { + + checkout scm + buildfile = load 'buildenv/jenkins/common/build' + testfile = load 'buildenv/jenkins/common/test' + cleanWs() + + // Build + buildfile.build_pr() + + // Test + archive_test = [:] + archive_test['Archive'] = { buildfile.archive() } + archive_test['Test'] = { testfile.test_all() } + + parallel archive_test + buildfile.git_clean() + } +} diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK9-linux_x86-64 new file mode 100644 index 00000000000..e226be017e2 --- /dev/null +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-Sanity-JDK9-linux_x86-64 @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' +TEST_TARGET = '_sanity' + +timeout(time: 10, unit: 'HOURS') { + node('master') { + + checkout scm + variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('pullRequest') + cleanWs() + } + + node("${NODE}") { + + checkout scm + buildfile = load 'buildenv/jenkins/common/build' + testfile = load 'buildenv/jenkins/common/test' + cleanWs() + + // Build + buildfile.build_pr() + + // Test + archive_test = [:] + archive_test['Archive'] = { buildfile.archive() } + archive_test['Test'] = { testfile.test_all() } + + parallel archive_test + buildfile.git_clean() + } +} diff --git a/buildenv/jenkins/jobs/tests/Test-Extended-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/tests/Test-Extended-JDK10-linux_x86-64 new file mode 100644 index 00000000000..09c44697c93 --- /dev/null +++ b/buildenv/jenkins/jobs/tests/Test-Extended-JDK10-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' +TEST_TARGET = '_extended' + +node('master') { + + checkout scm + def variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('test') + cleanWs() +} + +node("${NODE}") { + + cleanWs() + checkout scm + def buildfile = load 'buildenv/jenkins/common/test' + buildfile.test_all_with_fetch() +} diff --git a/buildenv/jenkins/jobs/tests/Test-Extended-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/tests/Test-Extended-JDK8-linux_x86-64 new file mode 100644 index 00000000000..031eef2d432 --- /dev/null +++ b/buildenv/jenkins/jobs/tests/Test-Extended-JDK8-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' +TEST_TARGET = '_extended' + +node('master') { + + checkout scm + def variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('test') + cleanWs() +} + +node("${NODE}") { + + cleanWs() + checkout scm + def buildfile = load 'buildenv/jenkins/common/test' + buildfile.test_all_with_fetch() +} diff --git a/buildenv/jenkins/jobs/tests/Test-Extended-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/tests/Test-Extended-JDK9-linux_x86-64 new file mode 100644 index 00000000000..63a6b98478f --- /dev/null +++ b/buildenv/jenkins/jobs/tests/Test-Extended-JDK9-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' +TEST_TARGET = '_extended' + +node('master') { + + checkout scm + def variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('test') + cleanWs() +} + +node("${NODE}") { + + cleanWs() + checkout scm + def buildfile = load 'buildenv/jenkins/common/test' + buildfile.test_all_with_fetch() +} diff --git a/buildenv/jenkins/jobs/tests/Test-Sanity-JDK10-linux_x86-64 b/buildenv/jenkins/jobs/tests/Test-Sanity-JDK10-linux_x86-64 new file mode 100644 index 00000000000..0a6ada497f6 --- /dev/null +++ b/buildenv/jenkins/jobs/tests/Test-Sanity-JDK10-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '10' +SPEC = 'linux_x86-64' +TEST_TARGET = '_sanity' + +node('master') { + + checkout scm + def variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('test') + cleanWs() +} + +node("${NODE}") { + + cleanWs() + checkout scm + def buildfile = load 'buildenv/jenkins/common/test' + buildfile.test_all_with_fetch() +} diff --git a/buildenv/jenkins/jobs/tests/Test-Sanity-JDK8-linux_x86-64 b/buildenv/jenkins/jobs/tests/Test-Sanity-JDK8-linux_x86-64 new file mode 100644 index 00000000000..93f8f2a354e --- /dev/null +++ b/buildenv/jenkins/jobs/tests/Test-Sanity-JDK8-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '8' +SPEC = 'linux_x86-64' +TEST_TARGET = '_sanity' + +node('master') { + + checkout scm + def variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('test') + cleanWs() +} + +node("${NODE}") { + + cleanWs() + checkout scm + def buildfile = load 'buildenv/jenkins/common/test' + buildfile.test_all_with_fetch() +} diff --git a/buildenv/jenkins/jobs/tests/Test-Sanity-JDK9-linux_x86-64 b/buildenv/jenkins/jobs/tests/Test-Sanity-JDK9-linux_x86-64 new file mode 100644 index 00000000000..ccb78e2aa4e --- /dev/null +++ b/buildenv/jenkins/jobs/tests/Test-Sanity-JDK9-linux_x86-64 @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2018, 2018 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * 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-exception + *******************************************************************************/ + +SDK_VERSION = '9' +SPEC = 'linux_x86-64' +TEST_TARGET = '_sanity' + +node('master') { + + checkout scm + def variableFile = load 'buildenv/jenkins/common/variables-functions' + variableFile.set_job_variables('test') + cleanWs() +} + +node("${NODE}") { + + cleanWs() + checkout scm + def buildfile = load 'buildenv/jenkins/common/test' + buildfile.test_all_with_fetch() +} diff --git a/buildenv/jenkins/variables/defaults.yml b/buildenv/jenkins/variables/defaults.yml index 36a734c31ca..7dee3f81491 100644 --- a/buildenv/jenkins/variables/defaults.yml +++ b/buildenv/jenkins/variables/defaults.yml @@ -158,6 +158,33 @@ linux_x86-64_cmprssptrs: 9: 'hw.arch.x86 && sw.os.ubuntu.16' 10: 'hw.arch.x86 && sw.os.ubuntu.16' #========================================# +# Linux x86 64bits Large Heap +#========================================# +linux_x86-64: + boot_jdk: + 8: '/usr/lib/jvm/java-7-openjdk-amd64' + 9: '/usr/lib/jvm/adoptojdk-java-80' + 10: '/usr/lib/jvm/adoptojdk-java-90' + release: + 8: 'linux-x86_64-normal-server-release' + 9: 'linux-x86_64-normal-server-release' + 10: 'linux-x86_64-normal-server-release' + freemarker: '/home/jenkins/freemarker.jar' + openjdk_reference_repo: '/home/jenkins/openjdk_cache' + node_labels: + build: + 8: 'hw.arch.x86 && sw.os.ubuntu.16' + 9: 'hw.arch.x86 && sw.os.ubuntu.16' + 10: 'hw.arch.x86 && sw.os.ubuntu.16' + test: + 8: 'hw.arch.x86 && sw.os.ubuntu.16' + 9: 'hw.arch.x86 && sw.os.ubuntu.16' + 10: 'hw.arch.x86 && sw.os.ubuntu.16' + extra_configure_options: + 8: '--with-noncompressedrefs' + 9: '--with-noncompressedrefs' + 10: '--with-noncompressedrefs' +#========================================# # Windows x86 64bits Compressed Pointers #========================================# win_x86-64_cmprssptrs: