You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2019/08/29 07:08:54 UTC
[struts] branch docker-build updated: Uses $JAVA_HOME var to test
java version
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch docker-build
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/docker-build by this push:
new 03bd96d Uses $JAVA_HOME var to test java version
03bd96d is described below
commit 03bd96d959cb2fba2f45c629f11c96f95d413892
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Aug 29 09:08:46 2019 +0200
Uses $JAVA_HOME var to test java version
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5e24858..e9da02f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,7 +31,7 @@ pipeline {
steps {
sh 'echo $JAVA_HOME'
sh 'echo $MAVEN_OPTS'
- sh 'java -version'
+ sh '$JAVA_HOME/java -version'
sh 'mvn -v'
sh './mvnw clean test -DskipWiki'
}