This is an automated email from the ASF dual-hosted git repository. olamy pushed a commit to branch ci-build-jdk19 in repository https://gitbox.apache.org/repos/asf/maven-script-interpreter.git
commit add27ec6c4567d8fd31d383a5724fb690d1c54f8 Author: Olivier Lamy <ol...@apache.org> AuthorDate: Fri Dec 2 16:27:47 2022 +1000 ci builds both with jdk 19 Signed-off-by: Olivier Lamy <ol...@apache.org> --- .github/workflows/maven-verify.yml | 3 ++- Jenkinsfile | 2 +- src/test/resources/groovy-test/verify.groovy | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index ea919b2..71f575f 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -25,5 +25,6 @@ jobs: build: name: Verify uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3 - + with: + jdk-matrix: '[ "8", "11", "17", "19"]' diff --git a/Jenkinsfile b/Jenkinsfile index 09ac70f..3d2d573 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,4 +17,4 @@ * under the License. */ -asfMavenTlpStdBuild() +asfMavenTlpStdBuild(jdks:[ "8", "11", "17", "19]) diff --git a/src/test/resources/groovy-test/verify.groovy b/src/test/resources/groovy-test/verify.groovy index f322050..94f6d45 100644 --- a/src/test/resources/groovy-test/verify.groovy +++ b/src/test/resources/groovy-test/verify.groovy @@ -22,7 +22,8 @@ if ( !( basedir instanceof File ) ) println "Global script variable not defined: basedir or not a File" throw new RuntimeException("Global script variable not defined: basedir or not a File"); } -assert (new File( basedir, "verify.groovy" ).exists()) +def verify = new File( basedir, "verify.groovy" ) +assert (verify.exists()) if ( !( context instanceof Map ) ) {