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
This commit is contained in:
parent
f9b9c0d18b
commit
24138ef615
@ -165,8 +165,10 @@ for more details about the DSL.</b>
|
|||||||
def shellcmds = '# show which files are currently modified in the working copy\n' +
|
def shellcmds = '# show which files are currently modified in the working copy\n' +
|
||||||
'svn status\n' +
|
'svn status\n' +
|
||||||
'\n' +
|
'\n' +
|
||||||
|
'# print out information about which exact version of java we are using\n' +
|
||||||
'echo Java-Home: $JAVA_HOME\n' +
|
'echo Java-Home: $JAVA_HOME\n' +
|
||||||
'ls -al $JAVA_HOME/\n' +
|
'ls -al $JAVA_HOME/\n' +
|
||||||
|
'$JAVA_HOME/bin/java -version\n' +
|
||||||
'\n' +
|
'\n' +
|
||||||
(poijob.shell ?: '') + '\n' +
|
(poijob.shell ?: '') + '\n' +
|
||||||
'# ignore any error message\n' +
|
'# ignore any error message\n' +
|
||||||
|
Loading…
Reference in New Issue
Block a user