Author: centic
Date: Sat Jul 29 06:57:40 2017
New Revision: 1803357
URL: http://svn.apache.org/viewvc?rev=1803357&view=rev
Log:
Jenkins-DSL: Print out the exact version of java in the pre-steps
Modified:
poi/trunk/jenkins/create_jobs.groovy
Modified: poi/trunk/jenkins/create_jobs.groovy
URL:
http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1803357&r1=1803356&r2=1803357&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Sat Jul 29 06:57:40 2017
@@ -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' +
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]