You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/09/23 09:01:01 UTC

[phoenix] branch 5.1 updated: PHOENIX-6537 Fix CI pipeline and upgrade Yetus (addendum: HBase 2.2.7 cannot be built with Java 11)

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.1 by this push:
     new 89086f2  PHOENIX-6537 Fix CI pipeline and upgrade Yetus (addendum: HBase 2.2.7 cannot be built with Java 11)
89086f2 is described below

commit 89086f2109cdbba92596ded06b57fbf18cdebf2c
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Sep 23 10:11:32 2021 +0200

    PHOENIX-6537 Fix CI pipeline and upgrade Yetus (addendum: HBase 2.2.7 cannot be built with Java 11)
---
 Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index c7369cf..7521e48 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,6 +54,9 @@ pipeline {
                             timeout(time: 30, unit: 'MINUTES')
                         }
                         environment {
+                            //HBase 2.2.7 cannot be built with Java 11
+                            PATH = "/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH"
+                            JAVA_HOME = "/usr/lib/jvm/java-8-openjdk-amd64"
                             HBASE_VERSION = sh(returnStdout: true, script: "mvn help:evaluate -Dexpression=hbase-${HBASE_PROFILE}.runtime.version -q -DforceStdout").trim()
                         }
                         steps {