summaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2017-07-29 06:57:40 +0000
committerDominik Stadler <centic@apache.org>2017-07-29 06:57:40 +0000
commit73d041eb7c95d44259c340e7edbf13c89f8e317b (patch)
treee915fe21d11dc4abc0bd735056de81203ce66113 /jenkins
parent9a0d34dc43d87a13dbe29d5b414180bd56609901 (diff)
downloadpoi-73d041eb7c95d44259c340e7edbf13c89f8e317b.tar.gz
poi-73d041eb7c95d44259c340e7edbf13c89f8e317b.zip
Jenkins-DSL: Print out the exact version of java in the pre-steps
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy2
1 files changed, 2 insertions, 0 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index c1b5412153..85b119f1b7 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -165,8 +165,10 @@ for more details about the DSL.</b>
def shellcmds = '# show which files are currently modified in the working copy\n' +
'svn status\n' +
'\n' +
+ '# print out information about which exact version of java we are using\n' +
'echo Java-Home: $JAVA_HOME\n' +
'ls -al $JAVA_HOME/\n' +
+ '$JAVA_HOME/bin/java -version\n' +
'\n' +
(poijob.shell ?: '') + '\n' +
'# ignore any error message\n' +