Skip to content

Commit

Permalink
Skip resource-intensive tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Jan 7, 2022
1 parent 2f4089b commit f3756ac
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,32 @@
</plugins>
</build>
</profile>
<profile>
<id>resource-constrained</id>
<activation>
<property>
<name>env.CI</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- TODO flakes on CI for inscrutable reasons -->
<excludes>
<exclude>org.jenkinsci.plugins.pipeline.modeldefinition.BasicModelDefTest</exclude>
<exclude>org.jenkinsci.plugins.pipeline.modeldefinition.MatrixTest</exclude>
<exclude>org.jenkinsci.plugins.pipeline.modeldefinition.WhenStageTest</exclude>
<exclude>org.jenkinsci.plugins.pipeline.modeldefinition.WhenStageMultibranchTest</exclude>
<exclude>org.jenkinsci.plugins.pipeline.modeldefinition.PostStageTest</exclude>
<exclude>org.jenkinsci.plugins.pipeline.modeldefinition.ToolsTest</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
Expand Down

0 comments on commit f3756ac

Please sign in to comment.