Not generate coverage report by jenkins's job

In my pom.xml

						<groupId>org.jacoco</groupId>
						<artifactId>jacoco-maven-plugin</artifactId>
						<version>0.7.4.201502262128</version>
						<executions>
							<execution>
								<id>prepare-ut-agent</id>
	            				<phase>process-test-classes</phase>
								<goals>
	              					<goal>prepare-agent</goal>
								</goals>
								<configuration>
	              					<propertyName>jacoco.agent.ut.arg</propertyName>
									<append>true</append>
								</configuration>
							</execution>
							<execution>
								<id>prepare-it-agent</id>
								<phase>pre-integration-test</phase>
								<goals>
									<goal>prepare-agent</goal>
								</goals>
								<configuration>
									<propertyName>jacoco.agent.it.arg</propertyName>
									<append>true</append>
								</configuration>
							</execution>
                                                        <execution>
                                                            <id>prepare-agent</id>
                                                            <goals>
                                                                 <goal>prepare-agent</goal>
                                                            </goals>
                                                        </execution>
                                                        <execution>
                                                            <id>report</id>
                                                            <goals>
                                                                   <goal>report</goal>
                                                             </goals>
                                                        </execution>							
						</executions>
					</plugin>

Nice. As result in my local host success generate jacoco’s coverage in files:

  • /target/jacoco-ut.exec
  • /target/site/jacoco/jacoco.xml, csv, html

On my jenkink’s job I has this settings:

sonar.jacoco.reportPath=**/target/jacoco-ut.exec

And the coverage report is not generate (0%).

Is I need to use this settings in jenkin’s job to generate coverage report:

sonar.coverage.jacoco.xmlReportPaths=**/target/site/jacoco/jacoco.xml

Please do not raise duplicate threads.

I will close this one.