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

hansva pushed a commit to branch integration-tests
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/integration-tests by this push:
     new 738b112  HOP-2122
738b112 is described below

commit 738b112b1720bbc30446cf11959058fbbd91ff9c
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Sun Dec 6 12:00:22 2020 +0100

    HOP-2122
    
    set HOP_JAVA_HOME in container
---
 Jenkinsfile.daily | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile.daily b/Jenkinsfile.daily
index 3e7cea3..afb12d9 100644
--- a/Jenkinsfile.daily
+++ b/Jenkinsfile.daily
@@ -111,7 +111,7 @@ pipeline {
                     dockerImage = docker.build(imagename, "--build-arg 
JENKINS_USER=${jenkins_user} --build-arg JENKINS_UID=${jenkins_uid} --build-arg 
JENKINS_GROUP=${jenkins_group} --build-arg JENKINS_GID=${jenkins_gid} -f 
Dockerfile.unit-tests .")
                     dockerImage.inside("-v 
$WORKSPACE/integration-tests:/files"){
                         echo 'Run tests'
-                        sh 'ls /files'
+                        sh 'export HOP_JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk'
                         sh 'cd /files/scripts && ./run-tests.sh'
                     }
                 }

Reply via email to