Skip to content

Commit

Permalink
Require Jenkins 2.361.4 or newer and Java 11 (#23)
Browse files Browse the repository at this point in the history
* update Parent pom

* jenkins update

* Jenkins updated to 2.361.4 and BOM to 2.364.x

* completed the PR, this is backup

* Stop testing Java 8 in CI

* Use latest bom release

* Make bom match with minimum Jenkins version

Co-authored-by: Udit Damare <[email protected]>
Co-authored-by: Mark Waite <[email protected]>
  • Loading branch information
3 people authored Jan 8, 2023
1 parent 884066f commit 1476868
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 3 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ buildPlugin(
useContainerAgent: true,
// Show failures on all configurations
failFast: false,
// Opt-in to the Artifact Caching Proxy, to be removed when it will be in opt-out.
// See https://github.com/jenkins-infra/helpdesk/issues/2752 for more details and updates.
artifactCachingProxyEnabled: true,
// Test Java 8 with default Jenkins version, Java 11 with a recent LTS, Java 17 even more recent
// Test Java 11 with default version, Java 17 with more recent LTS
configurations: [
[platform: 'linux', jdk: '17', jenkins: '2.375'],
[platform: 'linux', jdk: '11', jenkins: '2.361.4'],
[platform: 'windows', jdk: '8']
[platform: 'windows', jdk: '17', jenkins: '2.375.1'],
[platform: 'linux', jdk: '11'],
]
)
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ THE SOFTWARE.
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<version>4.53</version>
<relativePath></relativePath>
</parent>

Expand Down Expand Up @@ -54,15 +54,15 @@ THE SOFTWARE.
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/jenkins-clone-workspace-scm-plugin</gitHubRepo>
<jenkins.version>2.346.3</jenkins.version>
<jenkins.version>2.361.4</jenkins.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.346.x</artifactId>
<version>1763.v092b_8980a_f5e</version>
<artifactId>bom-2.361.x</artifactId>
<version>1775.vf0577a_a_01778</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit 1476868

Please sign in to comment.