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:27:56 UTC

[maven-script-interpreter] branch ci-build-jdk19 created (now add27ec)

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

olamy pushed a change to branch ci-build-jdk19
in repository https://gitbox.apache.org/repos/asf/maven-script-interpreter.git


      at add27ec  ci builds both with jdk 19

This branch includes the following new commits:

     new add27ec  ci builds both with jdk 19

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-script-interpreter] 01/01: ci builds both with jdk 19

Posted by ol...@apache.org.
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 ) )
 {