aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-12-31 00:17:57 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-12-31 00:17:57 +0000
commit3e66ca24b28fa9ea8488e2875ee7e6a03a5f3b0a (patch)
treee2e4aa87e505d107f03246972d0d1701ba6a5990 /jenkins
parentcf2be7a7187955b83d6951eecb3df112aafd1581 (diff)
downloadpoi-3e66ca24b28fa9ea8488e2875ee7e6a03a5f3b0a.tar.gz
poi-3e66ca24b28fa9ea8488e2875ee7e6a03a5f3b0a.zip
update xmlbeans gradle calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896562 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy31
1 files changed, 21 insertions, 10 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 422553c634..eb6f916f9c 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -113,6 +113,8 @@ def xmlbeansjobs = [
[ name: 'POI-XMLBeans-DSL-1.8', jdk: '1.8', trigger: 'H */12 * * *', skipcigame: true,
],
[ name: 'POI-XMLBeans-DSL-1.11', jdk: '1.11', trigger: triggerSundays, skipcigame: true,
+ // temporarily disabled until gradle build is stable on 1.8
+ disabled: true
],
[ name: 'POI-XMLBeans-DSL-1.12', jdk: '1.12', trigger: triggerSundays, skipcigame: true,
// let's save some CPU cycles here, 12 is not a LTS and JDK 13 is GA now
@@ -131,8 +133,12 @@ def xmlbeansjobs = [
disabled: true
],
[ name: 'POI-XMLBeans-DSL-1.17', jdk: '1.17', trigger: triggerSundays, skipcigame: true,
+ // temporarily disabled until gradle build is stable on 1.8
+ disabled: true
],
[ name: 'POI-XMLBeans-DSL-1.18', jdk: '1.18', trigger: triggerSundays, skipcigame: true,
+ // temporarily disabled until gradle build is stable on 1.8
+ disabled: true
]
]
@@ -565,22 +571,27 @@ xmlbeansjobs.each { xjob ->
if(xjob.addShell) {
shellEx(delegate, xjob.addShell, xjob)
}
- ant {
- targets(['clean'])
- antInstallation(antRT)
- }
- ant {
- targets(['jenkins'])
- antInstallation(antRT)
+
+ gradle {
+// switches('-PenableSonar')
+// switches('-Dsonar.login=${POI_SONAR_TOKEN}')
+// switches('-Dsonar.organization=apache')
+// switches('-Dsonar.projectKey=poi-parent')
+// switches('-Dsonar.host.url=https://sonarcloud.io')
+ tasks('clean')
+ tasks('jenkins')
+ tasks('jacocoTestReport')
+// tasks('sonarqube')
+ useWrapper(true)
}
}
publishers {
- archiveArtifacts('build/*.jar,build/*.zip,build/*.tgz,build/hs_err*.log')
+ archiveArtifacts('build/libs/xmlbeans*.jar,build/distributions/*,build/hs_err*.log')
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
}
- archiveJunit('build/test-results/**/TEST-*.xml') {
+ archiveJunit('build/test-results/test/TEST-*.xml') {
testDataPublishers {
publishTestStabilityData()
}
@@ -588,7 +599,7 @@ xmlbeansjobs.each { xjob ->
recordIssues {
tools {
spotBugs {
- pattern('build/findbugs.xml')
+ pattern('build/reports/spotbugs/*/spotbugs.xml')
reportEncoding('UTF-8')
}
}