Branch: refs/heads/master Home: https://github.com/jenkinsci/build-timeout-plugin Commit: e659546e3a114c6ebe3138709286b633d28a9c5f https://github.com/jenkinsci/build-timeout-plugin/commit/e659546e3a114c6ebe3138709286b633d28a9c5f Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2023-10-21 (Sat, 21 Oct 2023)
Changed paths: M Jenkinsfile M pom.xml Log Message: ----------- Test with Java 21 (#124) * Use parent pom 4.74 * Use bom-2.387.x latest release * Test with Java 21 Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in early October and would like the most used plugins to be compiled and tested with Java 21. The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21. The change intentionally tests only two Java configurations, Java 17 and Java 21 because we believe that the risk of a regression that only affects Java 11 is low. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code. * Test in parallel on ci.jenkins.io Allow ci.jenkins.io to run the tests with one process per available core, while developers are allowed to configure the amount of parallel testing based on the configuration and use of their computer. Developers can adjust parallel execution by passing a command line argument to Maven like this: mvn clean -DforkCount=1C verify Developers can define a Maven profile that sets the forkCount in their ~/.m2/settings.xml like this: <profile> <id>faster</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <forkCount>.45C</forkCount> </properties> </profile> With that entry in the settings.xml file, then 0.45C will be used for: mvn clean verify Tests pass with `-DforkCount=1C` on my Linux computer with Java 21. -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/build-timeout-plugin/push/refs/heads/master/1e9c5d-e65954%40github.com.