From: Dominik Stadler Date: Sat, 15 May 2021 07:20:46 +0000 (+0000) Subject: Jenkins DSL: Make sure to revert module-info.class files X-Git-Tag: REL_5_1_0~204 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6c3e6a4fd0882a6fafea9905d7dfe79a0374447;p=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 --- diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 74f3ffc618..10be977bb7 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -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%