Skip to content

Commit

Permalink
Merge pull request #140 from jimklimov/incr
Browse files Browse the repository at this point in the history
pom.xml: update baseline to Jenkins version for JDK11/17
  • Loading branch information
jimklimov authored Nov 22, 2022
2 parents 3ce6b64 + 61727f0 commit 9ff4e6f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
18 changes: 12 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env groovy
/*
* See the documentation for more options:
* https://github.com/jenkins-infra/pipeline-library/
*/
buildPlugin(useContainerAgent: true, configurations: [
// Test the common case (i.e., a recent LTS release) on both Linux and Windows.
[ platform: 'linux', jdk: '11', jenkins: '2.361.1' ],
[ platform: 'windows', jdk: '11', jenkins: '2.361.1' ],

/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */
//buildPlugin()

// Currently, container builds perform more reliably than the docker ones... so:
buildPlugin(useContainerAgent: true, platforms: ['linux'])
// Test the bleeding edge of the compatibility spectrum (i.e., the latest supported Java runtime).
// see also https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/
[ platform: 'linux', jdk: '17', jenkins: '2.361.2' ],
])
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
<revision>3</revision>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.332.4</jenkins.version>
<!-- Note: keep in sync with io.jenkins.tools.bom version below -->
<jenkins.version>2.361.4</jenkins.version>
<!-- Note: keep in sync with io.jenkins.tools.bom version below -->
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.332.x</artifactId>
<artifactId>bom-2.361.x</artifactId>
<version>1706.vc166d5f429f8</version>
<scope>import</scope>
<type>pom</type>
Expand Down

0 comments on commit 9ff4e6f

Please sign in to comment.