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

jungm pushed a commit to branch ee11
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git


The following commit(s) were added to refs/heads/ee11 by this push:
     new 4f6830a  Return explicit closures from the Jenkinsfile branch factories
4f6830a is described below

commit 4f6830a756d8165fcab59c3fed7fc7897985d8cb
Author: Markus Jung <[email protected]>
AuthorDate: Sun Jul 19 14:44:24 2026 +0200

    Return explicit closures from the Jenkinsfile branch factories
---
 Jenkinsfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2bc0e99..b2aeb63 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -101,7 +101,7 @@ from xml.etree import ElementTree
       steps {
         script {
           def catalogBranch = { String branchName, String protocol, String 
partition, String classifier ->
-            {
+            return { ->
               stage(branchName) {
                 node('ubuntu && ephemeral') {
                   deleteDir()
@@ -154,7 +154,7 @@ from xml.etree import ElementTree
           // bare JDK-tools agent the other standalone suites use.
           // See runner-standalone/README.md and KNOWN_ISSUES.md.
           def standaloneBranch = { String id, int timeoutMinutes ->
-            {
+            return { ->
               stage("standalone - ${id}") {
                 node('ubuntu && ephemeral') {
                   deleteDir()
@@ -204,7 +204,7 @@ from xml.etree import ElementTree
           def facesImage =
             
'markhobson/maven-chrome@sha256:90b0a104dd7236b5fcef71c342e4f6392fb204a4df030fad4bbf4c7990aaee00'
           def facesBranch = { int timeoutMinutes ->
-            {
+            return { ->
               stage('standalone - faces') {
                 node('ubuntu && ephemeral') {
                   deleteDir()

Reply via email to