summaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-01-07 21:15:33 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-01-07 21:15:33 +0000
commita4b6cf895b26ee3cda9d4e33f9c061da8d541ce1 (patch)
tree121442b51810dbacb2d50fa69bf5c871adf6b229 /jenkins
parentc891bca5963ccf0a0760743e3f97231968e9e7ab (diff)
downloadpoi-a4b6cf895b26ee3cda9d4e33f9c061da8d541ce1.tar.gz
poi-a4b6cf895b26ee3cda9d4e33f9c061da8d541ce1.zip
test if sonar can be configured via properties file
sonarcloud complained about jacoco native report paths git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872469 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy8
1 files changed, 1 insertions, 7 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 5ce9bf7e1c..d15ed0dab6 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -3,7 +3,7 @@
//
// See https://github.com/jenkinsci/job-dsl-plugin/wiki for information about the DSL, you can
// use http://job-dsl.herokuapp.com/ to validate the code before checkin
-//
+//
def triggerSundays = '''
# only run this once per week on Sundays
@@ -294,10 +294,7 @@ poijobs.each { poijob ->
maven {
if (poijob.sonar) {
goals('clean package sonar:sonar')
- property('sonar.host.url', 'https://sonarcloud.io')
property('sonar.login', '${POI_SONAR_TOKEN}')
- property('sonar.projectKey', 'poi-parent')
- property('sonar.organization', 'apache')
} else {
goals('package')
}
@@ -367,10 +364,7 @@ poijobs.each { poijob ->
gradle {
switches('-PenableSonar')
- switches('-Dsonar.host.url=https://sonarcloud.io')
switches('-Dsonar.login=${POI_SONAR_TOKEN}')
- switches('-Dsonar.projectKey=poi-parent')
- switches('-Dsonar.organization=apache')
tasks('sonarqube')
useWrapper(false)
}