You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/12/02 06:46:06 UTC

[maven-script-interpreter] branch master updated: ci builds both with jdk 19 (#85)

This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-script-interpreter.git


The following commit(s) were added to refs/heads/master by this push:
     new 8af16f6  ci builds both with jdk 19 (#85)
8af16f6 is described below

commit 8af16f6ee11f8728d59a69f88424be005a435ff1
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Dec 2 16:46:00 2022 +1000

    ci builds both with jdk 19 (#85)
    
    * ci builds both with jdk 19
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
    
    * fix typo
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
    
    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..06ba6fc 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 ) )
 {