Skip to content

4.40

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Apr 21:53
· 561 commits to refs/heads/master since this release

πŸŽ‰ Major features and improvements

This release of the plugin build toolchain contains support for Java 17 when running on Jenkins 2.341 or later. (#525, #524, #529) @basil

Please begin testing your plugins on Java 17 by taking the following actions:

  1. Upgrade to this release of the plugin parent POM.
  2. Delete <java.level>8</java.level> from your plugin POM.
  3. Update your Jenkinsfile to include a test run on Jenkins 2.341 or later and Java 17.

See jenkinsci/email-ext-plugin#357 and jenkinsci/timestamper-plugin#167 for examples.

⚠️ Deprecated

The java.level property has been deprecated and should be removed from your plugin's POM. In the future this warning will be changed to an error and will break the build. (#522) @basil

πŸ’₯ Breaking changes

The addition of @{jenkins.addOpens} and @{jenkins.insaneHook} to argLine exposes a bug in IntelliJ IDEA. A patch has been merged in JetBrains/intellij-community#1976. Pending the release of this patch, IntelliJ IDEA users should work around the problem as follows:

  1. Go to Settings > Build, Execution, Deployment > Build Tools > Maven > Running Tests.
  2. Under "Pass to JUnit process [the] following maven-surefire-plugin and maven-failsafe-plugin settings", uncheck argLine.

Failure to work around the problem as described above will result in a could not open '{jenkins.addOpens}' failure when running tests in IntelliJ IDEA.

Also note that the workaround does not suffice for Java 17 support. For Java 17 support in IntelliJ IDEA, we must wait for the release of JetBrains/intellij-community#1976.

πŸ“¦ Dependency updates

πŸ‘» Maintenance