aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2017-10-09 19:35:43 +0000
committerDominik Stadler <centic@apache.org>2017-10-09 19:35:43 +0000
commitb4fd20dafa85211b0f5899350daf49cd6fcfb1ea (patch)
treed162afc597937ac435ba6a26064e874d2e3a2530 /jenkins
parentceba27fa2cfc98424996570d7c199d9d644773c7 (diff)
downloadpoi-b4fd20dafa85211b0f5899350daf49cd6fcfb1ea.tar.gz
poi-b4fd20dafa85211b0f5899350daf49cd6fcfb1ea.zip
Add more output to the pre-check to help in analysis some strange build-failures in CI, e.g. INFRA-15244
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811597 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy12
1 files changed, 12 insertions, 0 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 2172988c76..357ecb11af 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -129,8 +129,20 @@ svn status
# print out information about which exact version of java we are using
echo Java-Home: $JAVA_HOME
ls -al $JAVA_HOME/
+ls -al $JAVA_HOME/bin
$JAVA_HOME/bin/java -version
+echo which java
+which java
+java -version
+
+echo which javac
+which javac
+javac -version
+
+echo '<project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>' > build.javacheck.xml
+ant -f build.javacheck.xml -v
+
POIJOBSHELL
# ignore any error message