]> source.dussan.org Git - poi.git/commitdiff
Jenkins-DSL: Print out the exact version of java in the pre-steps
authorDominik Stadler <centic@apache.org>
Sat, 29 Jul 2017 06:57:40 +0000 (06:57 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 29 Jul 2017 06:57:40 +0000 (06:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803357 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index c1b5412153dad9745e069ee2f73cbc35e432ff82..85b119f1b74ee92e0bdfba0250e2416f8b5a2ad7 100644 (file)
@@ -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' +