From a6c3e6a4fd0882a6fafea9905d7dfe79a0374447 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 15 May 2021 07:20:46 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 4 ++++ 1 file changed, 4 insertions(+) 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% -- 2.39.5