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:
Dominik Stadler 2021-05-15 07:20:46 +00:00
parent 994f940fcf
commit a6c3e6a4fd
1 changed files with 4 additions and 0 deletions

View File

@ -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%