Skip to content

Commit

Permalink
Merge pull request #64 from MarkEWaite/test-with-java-11
Browse files Browse the repository at this point in the history
Test Java 8 and Java 11
  • Loading branch information
MarkEWaite authored Nov 10, 2021
2 parents 75a4922 + 6bd9923 commit 2f7442f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env groovy

/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */
buildPlugin(failFast: false)
/* Check Java 11 on Linux and Java 8 on Windows */
/* Covers both Java versions and both platforms */
buildPlugin(failFast: false,
configurations: [
[platform: 'linux', jdk: '11'],
[platform: 'windows', jdk: '8'],
])
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@
</loggers>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>0.8C</forkCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>
</plugins>
</build>
<properties>
Expand Down

0 comments on commit 2f7442f

Please sign in to comment.