mirror of https://github.com/apache/poi.git
Jenkins DSL: Make sure to revert module-info.class files
Otherwise CI-builds fail when they were modified by a previous build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889910 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
994f940fcf
commit
a6c3e6a4fd
|
@ -181,6 +181,8 @@ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad buil
|
|||
|
||||
# show which files are currently modified in the working copy
|
||||
svn status || true
|
||||
# make sure no changed module-class-files are lingering on
|
||||
svn revert poi*/src/*/java9/module-info.class || true
|
||||
|
||||
# print out information about which exact version of java we are using
|
||||
echo Java-Home: $JAVA_HOME
|
||||
|
@ -214,6 +216,8 @@ def shellCmdsWin =
|
|||
'''@echo off
|
||||
:: show which files are currently modified in the working copy
|
||||
svn status
|
||||
:: make sure no changed module-class-files are lingering on
|
||||
svn revert poi*\\src\\*\\java9\\module-info.class
|
||||
|
||||
:: print out information about which exact version of java we are using
|
||||
echo Java-Home: %JAVA_HOME%
|
||||
|
|
Loading…
Reference in New Issue