You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2019/12/01 11:42:10 UTC
svn commit: r1870671 - in /poi/trunk: build.gradle build.xml
jenkins/create_jobs.groovy sonar/pom.xml
Author: kiwiwings
Date: Sun Dec 1 11:42:09 2019
New Revision: 1870671
URL: http://svn.apache.org/viewvc?rev=1870671&view=rev
Log:
Update Jacoco version and activate it again in the Sonar run
Modified:
poi/trunk/build.gradle
poi/trunk/build.xml
poi/trunk/jenkins/create_jobs.groovy
poi/trunk/sonar/pom.xml
Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1870671&r1=1870670&r2=1870671&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Sun Dec 1 11:42:09 2019
@@ -145,7 +145,7 @@ subprojects {
}
jacoco {
- toolVersion = '0.8.3'
+ toolVersion = '0.8.5'
}
// ensure the build-dir exists
Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1870671&r1=1870670&r2=1870671&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sun Dec 1 11:42:09 2019
@@ -260,8 +260,8 @@ under the License.
value="${repository.m2}/maven2/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar"/>
<!-- coverage libs -->
- <property name="jacoco.zip" location="${main.lib}/jacoco-0.8.3.zip"/>
- <property name="jacoco.url" value="${repository.m2}/maven2/org/jacoco/jacoco/0.8.3/jacoco-0.8.3.zip"/>
+ <property name="jacoco.zip" location="${main.lib}/jacoco-0.8.5.zip"/>
+ <property name="jacoco.url" value="${repository.m2}/maven2/org/jacoco/jacoco/0.8.5/jacoco-0.8.5.zip"/>
<property name="asm.jar" location="${main.lib}/asm-7.0.jar"/>
<property name="asm.url" value="${repository.m2}/maven2/org/ow2/asm/asm/7.0/asm-7.0.jar"/>
<property name="asmcommons.jar" location="${main.lib}/asm-commons-7.0.jar"/>
@@ -662,6 +662,7 @@ under the License.
<include name="jacoco-0.7*"/>
<include name="jacoco-0.8.1*"/>
<include name="jacoco-0.8.2*"/>
+ <include name="jacoco-0.8.3*"/>
<include name="jmh-core-1.15*"/>
<include name="jmh-generator-annprocess-1.15*"/>
<include name="log4j-1.2.13*"/>
@@ -669,6 +670,7 @@ under the License.
<include name="org.jacoco.*-0.7**"/>
<include name="org.jacoco.*-0.8.1*"/>
<include name="org.jacoco.*-0.8.2*"/>
+ <include name="org.jacoco.*-0.8.3*"/>
<include name="dom4j*"/>
<include name="apache-rat-0.10*"/>
<include name="xercesImpl-*.jar"/>
Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1870671&r1=1870670&r2=1870671&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Sun Dec 1 11:42:09 2019
@@ -128,8 +128,6 @@ def apicheckDesc = '''
</p>
'''
-def sonarOptions = '-Dsonar.projectKey=poi-parent -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io '
-
def sonarDesc = '''
<p>
<b><a href="lastSuccessfulBuild/findbugsResult/" target="_blank">Findbugs report of latest build</a></b> -
@@ -295,7 +293,11 @@ poijobs.each { poijob ->
*/
maven {
if (poijob.sonar) {
- goals('compile sonar:sonar -Dsonar.login=${POI_SONAR_TOKEN} ' + sonarOptions)
+ 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')
}
@@ -365,7 +367,10 @@ poijobs.each { poijob ->
gradle {
switches('-PenableSonar')
- switches('-Dsonar.login=${POI_SONAR_TOKEN} ' + sonarOptions)
+ 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)
}
Modified: poi/trunk/sonar/pom.xml
URL: http://svn.apache.org/viewvc/poi/trunk/sonar/pom.xml?rev=1870671&r1=1870670&r2=1870671&view=diff
==============================================================================
--- poi/trunk/sonar/pom.xml (original)
+++ poi/trunk/sonar/pom.xml Sun Dec 1 11:42:09 2019
@@ -136,7 +136,21 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.2</version>
+ <version>0.8.5</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org