Skip to content

Commit

Permalink
Merge pull request #169 from MarkEWaite/test-with-java-21
Browse files Browse the repository at this point in the history
Test with Java 21
  • Loading branch information
TobiX authored Oct 15, 2023
2 parents f416b43 + 88c326c commit 0d7566a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!groovy
def recentLTS = '2.375.2'
def recentLTS = '2.414.2'
buildPlugin(
// Container agents start faster and are easier to administer
useContainerAgent: true,
configurations: [
[platform: 'linux', jdk: '11'],
[platform: 'linux', jdk: '17', jenkins: recentLTS],
[platform: 'linux', jdk: '21'],
[platform: 'windows', jdk: '17', jenkins: recentLTS],
]
)
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.61</version>
<version>4.74</version>
</parent>

<groupId>com.cloudbees.jenkins.plugins</groupId>
Expand Down Expand Up @@ -51,8 +51,8 @@
</contributors>

<scm>
<connection>scm:git:ssh://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:ssh://[email protected]/${gitHubRepo}.git</developerConnection>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
<tag>${scmTag}</tag>
<url>https://github.com/${gitHubRepo}</url>
</scm>
Expand All @@ -70,7 +70,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<version>1836.vfe602c266c05</version>
<version>2102.v854b_fec19c92</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit 0d7566a

Please sign in to comment.