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 c88b9e0e76 try to switch poi ci builds to git
c88b9e0e76 is described below

commit c88b9e0e76e43ba8b7e9b067a67a326ac8efc886
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jul 7 21:59:17 2025 +0100

    try to switch poi ci builds to git
---
 jenkins/create_jobs.groovy | 70 +++-------------------------------------------
 1 file changed, 4 insertions(+), 66 deletions(-)

diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index d112999d2c..da0eeff54e 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -131,7 +131,7 @@ def xmlbeansjobs = [
         ]
 ]
 
-def svnBase = 'https://svn.apache.org/repos/asf/poi/trunk'
+def gitBase = 'https://github.com/apache/poi.git'
 def xmlbeansSvnBase = 'https://svn.apache.org/repos/asf/xmlbeans/trunk'
 
 def defaultJdk = '1.8'
@@ -174,7 +174,7 @@ Apache POI - the Java API for Microsoft Documents
 </p>
 <p>
 <b>This is an automatically generated Job Config, do not edit it here!
-Instead change the Jenkins Job DSL at <a 
href="https://svn.apache.org/repos/asf/poi/trunk/jenkins";>https://svn.apache.org/repos/asf/poi/trunk/jenkins</a>,
+Instead change the Jenkins Job DSL at <a 
href="https://github.com/apache/poi/blob/trunk/jenkins/";>https://github.com/apache/poi/blob/trunk/jenkins/</a>,
 see <a 
href="https://github.com/jenkinsci/job-dsl-plugin/wiki";>https://github.com/jenkinsci/job-dsl-plugin/wiki</a>
 for more details about the DSL.</b>
 </p>'''
@@ -306,9 +306,8 @@ poijobs.each { poijob ->
         }
         jdk(jdkMapping.get(jdkKey).jenkinsJdk)
         scm {
-            svn(svnBase) { svnNode ->
-                svnNode / browser(class: 'hudson.scm.browsers.ViewSVN') /
-                        url << 
'https://svn.apache.org/viewcvs.cgi/?root=Apache-SVN'
+            git(gitBase) {
+                branch('*/trunk')
             }
         }
         checkoutRetryCount(3)
@@ -682,64 +681,3 @@ echo ^<?xml version=^"1.0^"?^>^<project name=^"POI Build^" 
default=^"test^"^>^<t
         }
     }
 }
-
-/* I tried to put the view into a sub-folder/sub-view, but failed, there are 
multiple related
- plugins so this is all a bit confusing :(, see also 
https://issues.apache.org/jira/browse/INFRA-14002
-dashboardView("P/POI-new") {
-    columns {
-        status()
-        weather()
-        configureProject()
-        buildButton()
-        cronTrigger()
-        lastBuildConsole()
-        name()
-        lastSuccess()
-        lastFailure()
-        lastDuration()
-        //lastSuccessDescription()
-        jacoco()
-    }
-    description("<table>\n" +
-            "  <tr>\n" +
-            "    <td><img 
src=\"https://poi.apache.org/images/project-header.png\"; /></td>\n" +
-            "    <td>  \n" +
-            "      <p>Apache POI - the Java API for Microsoft Documents</p>\n" 
+
-            "      <p><b>Most of the POI Jobs are automatically generated by 
Jenkins Job DSL\n" +
-            "        at <a 
href=\"https://svn.apache.org/repos/asf/poi/trunk/jenkins\";>https://svn.apache.org/repos/asf/poi/trunk/jenkins</a>,<br/>\n"
 +
-            "        see <a 
href=\"https://github.com/jenkinsci/job-dsl-plugin/wiki\";>https://github.com/jenkinsci/job-dsl-plugin/wiki</a>\n"
 +
-            "        for more details about the DSL.</b>\n" +
-            "      </p>\n" +
-            "      <p>\n" +
-            "      <b><a 
href=\"job/POI-DSL-1.8/lastSuccessfulBuild/findbugsResult/\" 
target=\"_blank\">Findbugs report of latest build</a></b> -\n" +
-            "      <b><a 
href=\"https://sonarcloud.io/dashboard?id=poi-parent\"; target=\"_blank\">Sonar 
reports</a></b> -\n" +
-            "      <b><a 
href=\"job/POI-DSL-1.8/lastSuccessfulBuild/artifact/build/coverage/index.html\" 
target=\"_blank\">Coverage of latest build</a></b>\n" +
-            "      </p>\n" +
-            "    </td>\n" +
-            "  </tr>\n" +
-            "</table>")
-    filterBuildQueue(false)
-    filterExecutors(false)
-
-    // Job selection
-    jobs {*/
-//regex(/.*POI.*/)
-/*}
-
-// Layout
-topPortlets {
-    jenkinsJobsList {
-        displayName('POI jobs')
-    }
-}
-leftPortlets {
-    testStatisticsChart()
-}
-rightPortlets {
-    testTrendChart()
-}
-bottomPortlets {
-    testStatisticsGrid()
-    buildStatistics()
-}
-}*/


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

Reply via email to