fix(ci): bound Maven resources and serialize shared builder jobs
This commit is contained in:
@@ -171,6 +171,30 @@
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>ci-bounded</id>
|
||||
<properties>
|
||||
<!-- JaCoCo fills this property at runtime; retain late evaluation below. -->
|
||||
<argLine></argLine>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>@{argLine} -Xms128m -Xmx1024m -XX:MaxMetaspaceSize=384m -XX:MaxDirectMemorySize=128m -XX:+ExitOnOutOfMemoryError</argLine>
|
||||
<forkCount>1</forkCount>
|
||||
<reuseForks>true</reuseForks>
|
||||
<enableProcessChecker>ping</enableProcessChecker>
|
||||
<shutdown>kill</shutdown>
|
||||
<forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
|
||||
<forkedProcessExitTimeoutInSeconds>30</forkedProcessExitTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<properties>
|
||||
|
||||
Reference in New Issue
Block a user