summaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-09-12 20:31:43 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-09-12 20:31:43 +0000
commit596db3117021cea11793fff2d3018e5e2907a2c9 (patch)
tree2af7961416ce3c30cc037de1a62c7b58783faae4 /jenkins
parent99047b5245ea588419cd45b8a8ac3a1ca15494ea (diff)
downloadpoi-596db3117021cea11793fff2d3018e5e2907a2c9.tar.gz
poi-596db3117021cea11793fff2d3018e5e2907a2c9.zip
XmlSec/BouncyCastle and Batik are now optional
disable SonarQube build based on ant remove sonar and maven directory, because POMs are now created via Gradle remove maven section from seed-build fix duplicated maven dependencies on POM export git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893289 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy51
1 files changed, 6 insertions, 45 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index b8f490e272..3099e250c0 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -65,11 +65,11 @@ def poijobs = [
],
[ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true, gradle: true
],
- [ name: 'POI-DSL-SonarQube', jdk: '1.11', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true,
- email: 'kiwiwings@apache.org',
- // replaced by Gradle-based build now
- disabled: true
- ],
+// [ name: 'POI-DSL-SonarQube', jdk: '1.11', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true,
+// email: 'kiwiwings@apache.org',
+// // replaced by Gradle-based build now
+// disabled: true
+// ],
[ name: 'POI-DSL-SonarQube-Gradle', jdk: '1.11', trigger: 'H 7 * * *', gradle: true, sonar: true, skipcigame: true
],
[ name: 'POI-DSL-Windows-1.8', trigger: 'H */12 * * *', windows: true, slaves: 'Windows', gradle: true
@@ -339,46 +339,7 @@ poijobs.each { poijob ->
def shellcmds = (poijob.windows ? shellCmdsWin : shellCmdsUnix).replace('POIJOBSHELL', poijob.shell ?: '')
// Create steps and publishers depending on the type of Job that is selected
- if(poijob.maven) {
- steps {
- shellEx(delegate, shellcmds, poijob)
- maven {
- goals('clean')
- rootPOM('sonar/pom.xml')
- localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
- mavenInstallation(defaultMaven)
- }
- maven {
- if (poijob.sonar) {
- goals('clean package sonar:sonar')
- property('sonar.login', '${POI_SONAR_TOKEN}')
- } else {
- goals('package')
- }
- rootPOM('sonar/pom.xml')
- mavenOpts('-Xmx2g')
- mavenOpts('-Xms256m')
- mavenOpts('-XX:-OmitStackTraceInFastThrow')
- localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
- mavenInstallation(defaultMaven)
- }
- }
- publishers {
- if (!poijob.skipcigame) {
- configure { project ->
- project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
- }
- }
- if (!poijob.sonar) {
- archiveJunit('sonar/*/target/surefire-reports/TEST-*.xml') {
- testDataPublishers {
- publishTestStabilityData()
- }
- }
- }
- mailer(email, false, false)
- }
- } else if (poijob.javadoc) {
+ if (poijob.javadoc) {
steps {
shellEx(delegate, shellcmds, poijob)
ant {