-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from gounthar/jdk21
Test with Java 21
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 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,11 +1,11 @@ | ||
#!groovy | ||
def recentLTS = '2.375.2' | ||
/* | ||
See the documentation for more options: | ||
https://github.com/jenkins-infra/pipeline-library/ | ||
*/ | ||
buildPlugin( | ||
// Container agents start faster and are easier to administer | ||
useContainerAgent: true, | ||
configurations: [ | ||
[platform: 'linux', jdk: '11'], | ||
[platform: 'linux', jdk: '17', jenkins: recentLTS], | ||
[platform: 'windows', jdk: '17', jenkins: recentLTS], | ||
] | ||
) | ||
forkCount: '1C', // run this number of tests in parallel for faster feedback. If the number terminates with a 'C', the value will be multiplied by the number of available CPU cores | ||
useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests | ||
configurations: [ | ||
[platform: 'linux', jdk: 21], | ||
[platform: 'windows', jdk: 17], | ||
]) |