You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2018/04/08 17:47:42 UTC

logging-log4j2 git commit: Add IBM JDK testing to jenkins pipeline

Repository: logging-log4j2
Updated Branches:
  refs/heads/master f36276adf -> ddb5926b1


Add IBM JDK testing to jenkins pipeline


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/ddb5926b
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/ddb5926b
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/ddb5926b

Branch: refs/heads/master
Commit: ddb5926b16a9a39229982192e490e37ae45511ba
Parents: f36276a
Author: Matt Sicker <bo...@gmail.com>
Authored: Sun Apr 8 12:40:03 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Sun Apr 8 12:40:03 2018 -0500

----------------------------------------------------------------------
 Jenkinsfile                | 13 +++++++++
 toolchains-jenkins-ibm.xml | 63 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ddb5926b/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index ce82c96..ac900ce 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -41,6 +41,19 @@ pipeline {
                         }
                     }
                 }
+                stage('IBM JDK') {
+                    agent { label 'ubuntu&&!H20' }
+                    tools {
+                        jdk 'IBM 1.8 64-bit (on Ubuntu only)'
+                        maven 'Maven 3 (latest)'
+                    }
+                    steps {
+                        ansiColor('xterm') {
+                            sh 'mvn -t toolchains-jenkins-ibm.xml -Djenkins -V install'
+                            junit '*/target/*-reports/*.xml'
+                        }
+                    }
+                }
                 stage('Windows') {
                     agent { label 'Windows' }
                     tools {

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ddb5926b/toolchains-jenkins-ibm.xml
----------------------------------------------------------------------
diff --git a/toolchains-jenkins-ibm.xml b/toolchains-jenkins-ibm.xml
new file mode 100644
index 0000000..4fdd5c6
--- /dev/null
+++ b/toolchains-jenkins-ibm.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements. See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache license, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License. You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the license for the specific language governing permissions and
+  ~ limitations under the license.
+  -->
+<toolchains>
+  <!-- JDK toolchains -->
+  <toolchain>
+    <type>jdk</type>
+    <provides>
+      <version>1.7</version>
+      <vendor>ibm</vendor>
+    </provides>
+    <configuration>
+      <jdkHome>/home/jenkins/tools/java/ibm-1.7-64</jdkHome>
+    </configuration>
+  </toolchain>
+  <toolchain>
+    <type>jdk</type>
+    <provides>
+      <version>1.8</version>
+      <vendor>ibm</vendor>
+    </provides>
+    <configuration>
+      <jdkHome>/home/jenkins/tools/java/ibm-java-x86_64-80</jdkHome>
+    </configuration>
+  </toolchain>
+  <!-- TODO: configure OpenJ9/J9 whenever it's installed -->
+  <toolchain>
+    <type>jdk</type>
+    <provides>
+      <version>9</version>
+      <vendor>sun</vendor>
+    </provides>
+    <configuration>
+      <jdkHome>/home/jenkins/tools/java/latest1.9</jdkHome>
+    </configuration>
+  </toolchain>
+  <toolchain>
+    <type>jdk</type>
+    <provides>
+      <version>10</version>
+      <vendor>sun</vendor>
+    </provides>
+    <configuration>
+      <jdkHome>/home/jenkins/tools/java/latest10</jdkHome>
+    </configuration>
+  </toolchain>
+
+  <!-- other toolchains -->
+</toolchains>