-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move parallel test control to Jenkinsfile (#107)
Better to leave the control of parallel tests to the developer based on their local machine configuration. Use parallel tests on ci.jenkins.io running one JVM tests process per core.
- Loading branch information
1 parent
35d3311
commit d85efed
Showing
2 changed files
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ | ||
buildPlugin( | ||
// Run a JVM per core in tests | ||
forkCount: '1C', | ||
// Container agents start faster and are easier to administer | ||
useContainerAgent: true, | ||
// Show failures on all configurations | ||
failFast: false, | ||
// Test Java 11 with a recent LTS, Java 17 even more recent | ||
// Test Java 11 and Java 17 | ||
configurations: [ | ||
[platform: 'linux', jdk: '17', jenkins: '2.375.1'], | ||
[platform: 'linux', jdk: '17'], | ||
[platform: 'windows', jdk: '11'] | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters