aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-05-15 07:20:46 +0000
committerDominik Stadler <centic@apache.org>2021-05-15 07:20:46 +0000
commita6c3e6a4fd0882a6fafea9905d7dfe79a0374447 (patch)
treeeb6bde92b5ae68f809881daea7021827d9aa8143 /jenkins
parent994f940fcf44d10eb97ae75395b430bdbc919cef (diff)
downloadpoi-a6c3e6a4fd0882a6fafea9905d7dfe79a0374447.tar.gz
poi-a6c3e6a4fd0882a6fafea9905d7dfe79a0374447.zip
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
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy4
1 files changed, 4 insertions, 0 deletions
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%