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

fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a5d43073a6 Update create_jobs.groovy
a5d43073a6 is described below

commit a5d43073a6721c408dcc28d23d72fca169c82e5b
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Nov 17 15:16:36 2025 +0100

    Update create_jobs.groovy
---
 jenkins/create_jobs.groovy | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index a028dabce2..e6e6cb1061 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -15,10 +15,17 @@ def xercesLib = './xercesImpl-2.6.1.jar'
 
 def poijobs = [
         [ name: 'POI-DSL-1.8',
+          jdk: '1.8',
           trigger: 'H */12 * * *',
           jenkinsLite: true,
           disabled: true  // JDK 8 is no longer supported by POI 6
         ],
+        [ name: 'POI-DSL-1.8-branch-5.5.x',
+          jdk: '1.8',
+          branch: '5.5.x',
+          trigger: 'H */12 * * *',
+          jenkinsLite: true,
+        ],
         [ name: 'POI-DSL-1.11', jdk: '1.11', trigger: triggerSundays, 
skipcigame: true
         ],
         [ name: 'POI-DSL-1.17', jdk: '1.17', trigger: 'H */12 * * *', 
skipcigame: true
@@ -108,6 +115,7 @@ def gitBase = 'https://github.com/apache/poi.git'
 def xmlbeansGitBase = 'https://github.com/apache/xmlbeans.git'
 
 def defaultJdk = '1.11'
+def defaultBranch = 'trunk'
 def defaultTrigger = 'H/15 * * * *'     // check SCM every 60/15 = 4 minutes
 def defaultEmail = '[email protected]'
 def defaultAnt = 'ant_1.10_latest'
@@ -227,6 +235,7 @@ poijobs.each { poijob ->
     def email = poijob.email ?: defaultEmail
     def slaves = poijob.slaves ?: defaultSlaves + (poijob.slaveAdd ?: '')
     def antRT = poijob.windows ? defaultAntWindows : defaultAnt
+    def checkoutBranch = poijob.branch ?: defaultBranch
 
     job('POI/' + poijob.name) {
         if (poijob.disabled) {
@@ -275,7 +284,7 @@ poijobs.each { poijob ->
                 remote {
                     url(gitBase)
                 }
-                branch('*/trunk')
+                branch("*/${checkoutBranch}")
             }
         }
         checkoutRetryCount(3)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to