-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove unused dependency references * Run parallel tests in CI The plugin includes several long running tests that benefit from using at least one JVM per core on the test machine.
- Loading branch information
1 parent
d689167
commit 28a34f8
Showing
2 changed files
with
13 additions
and
15 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,7 +1,16 @@ | ||
// Specify configurations explicitly to test against newer LTS. | ||
// See also https://github.com/jenkins-infra/pipeline-library/pull/145 | ||
|
||
buildPlugin(useContainerAgent: true, configurations: [ | ||
[ platform: 'linux', jdk: '11' ], | ||
[ platform: 'windows', jdk: '17' ], | ||
]) | ||
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 and Java 17 | ||
configurations: [ | ||
[platform: 'linux', jdk: '17'], // Linux first for coverage report on ci.jenkins.io | ||
[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