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 08:12:02 UTC

[phoenix] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


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

commit a22907a512c769e409542e651a2e3c651c303c8f
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..e169eca 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/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH"
+                            JAVA_HOME = "/usr/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 {