fix forrest path on windows

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2018-07-19 22:55:51 +00:00
parent 1ce9611415
commit eca7a55932

View File

@ -204,7 +204,7 @@ poijobs.each { poijob ->
// when using JDK 9 for running Ant, we need to provide more packages for the forbidden-api-checks task // when using JDK 9 for running Ant, we need to provide more packages for the forbidden-api-checks task
env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED') env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
} }
env('FORREST_HOME', '/home/jenkins/tools/forrest/latest') env('FORREST_HOME', poijob.windows ? 'f:\\jenkins\\tools\\forrest\\latest' : '/home/jenkins/tools/forrest/latest')
} }
wrappers { wrappers {
timeout { timeout {