mirror of
https://github.com/apache/poi.git
synced 2026-02-27 12:30:08 +08:00
try to switch poi ci builds to git
This commit is contained in:
parent
7333f6a7d0
commit
c88b9e0e76
@ -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()
|
||||
}
|
||||
}*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user