clean jacoco:prepare-agent install jacoco:report -DENVIRONMENT=localhost -X
pom.xml
文件我正在jenkins服务器上运行这个pom,它是一个带有SoapUI maven插件的maven项目,SoapUIproject。xml连接到maven以进行自动SoapUI测试我遇到以下错误,我尝试了与此项目相关的所有stackoverflow答案,并在web上搜索,但仍然无法摆脱它:
soapui maven插件---[信息]安装
/var/lib/jenkins/workspace/soapuiauto1/hdap project/target/soapui-maven-plugin-0.0.1-SNAPSHOT.jar
/home/jboss/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/0.0.1-SNAPSHOT/soapui-maven-plugin-0.0.1-SNAPSHOT.jar
[调试]写入跟踪文件
/home/jboss/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/0.0.1-SNAPSHOT/\u remote.repositories
/var/lib/jenkins/workspace/soapuiauto1/hdap项目/pom。xml到
/home/jboss/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/0.0.1-SNAPSHOT/soapui-maven-plugin-0.0.1-SNAPSHOT.pom
缺少执行数据
文件:/var/lib/jenkins/workspace/soapuiauto1/hdap-project/target/jacoco.exec
通知上游项目工作完成
http://maven.apache.org/xsd/maven-4.0.0.xsd“>
com.smartbear.soapui
soapui maven插件
0.0.1-快照
獾
假
土耳其
假
环境
土耳其
假
环境
黑豹
假
环境
QA7
假
环境
QA8
假
QA8
smartbear瑞典插件库
http://smartbearsoftware.com/repository/maven2/
http://maven.dev.s.vonagenetworks.net:8080/nexus/content/repositories/Vonage-m2/
</pluginRepositories>
<repositories>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>${soapui.plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui</artifactId>
<version>${soapui.plugin.version}</version>
<exclusions>
<exclusion>
<groupId>javafx</groupId>
<artifactId>jfxrt</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.3-1102-jdbc41</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
</dependency>
<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>jgoodies-forms</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.vonage.asl</groupId>
<artifactId>unifiedServices</artifactId>
<version>2015.12.4-RELEASE</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.3.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
</dependencies>
<configuration>
<settingsFile>${basedir}/src/config/soapui-settings.xml</settingsFile>
<junitReport>true</junitReport>
<printReport>true</printReport>
</configuration>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<trimStackTrace>false</trimStackTrace>
<testFailIgnore>true</testFailIgnore>
<outputFolder>${project.build.directory}/reports</outputFolder>
<projectFile>${basedir}/src/test/resources/HDAP-soapui-project.xml</projectFile>
<projectProperties>
<projectProperty>ENVIRONMENT=${ENVIRONMENT}</projectProperty>
</projectProperties>
<junitReport>true</junitReport>
<skip>${skipITs}</skip>
<coverage>${project.build.directory}/reports</coverage>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.2.201409121644</version>
<!-- <configuration>
<destFile>${jacoco.reportPath}</destFile>
<dataFile>${jacoco.reportPath}</dataFile>
<outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
<classDumpDir>${project.reporting.outputDirectory}/jacoco-it/classes</classDumpDir>
<skip>${skipITs}</skip>
<output>file</output>
</configuration> -->
<executions>
<execution>
<id>jacoco-agent</id>
<phase>pre-integration-test</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
<propertyName>jacoco.agent.itArgLine</propertyName>
</configuration>
</execution>
<execution>
<id>jacoco-report</id>
<phase>post-integration-test</phase>
<configuration>
<dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
<!-- Sets the output directory for the code coverage report. -->
<outputDirectory>${project.reporting.outputDirectory}/jacoco-out</outputDirectory>
</configuration>
<goals>
<!--<goal>dump</goal> -->
<goal>report</goal>
</goals>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<jacoco-agent.destFile>target/jacoco.exec</jacoco-agent.destFile>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<executions>
<execution>
<id>default-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.15</version>
<executions>
<!--
Ensures that both integration-test and verify goals of the Failsafe Maven
plugin are executed.
-->
<execution>
<id>integration-tests</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<!-- Sets the VM argument line used when integration tests are run. -->
<argLine>${jacoco.agent.itArgLine}</argLine>
<skipTests>${skip.integration.tests}</skipTests>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>