Ich habe mit diesem die folgenden leiteSkipping JaCoCo Ausführung aufgrund fehlender Dateiausführungsdaten:/var/lib/jenkins/Arbeitsbereich/soapuiauto1/HDAP-Projekt/Teer erhalten/jacoco.exec
clean jacoco:prepare-agent install jacoco:report -DENVIRONMENT=localhost -X
pom.xml
Datei ich dieses pom in jenkins Server, sein ein Maven-Projekt mit SoapUI Maven Plugin wird SoapUIproject.xml an maven zu tun automatische SoapUI Tests ich folgende Fehlermeldung leite ich immer, ich habe alle stackoverflow Antworten im Zusammenhang mit diesem Projekt versucht und suche thr ough die Bahn aber kann immer noch nicht, es loszuwerden:
[INFO] --- Maven-install-Plugin: 2,4: installieren (Standard-Installation) @ soapui-Maven-Plugin --- [INFO] Installation /var/lib/jenkins/workspace/soapuiauto1/hdap-project/target/soapui-maven-plugin-0.0.1-SNAPSHOT.jar zu /home/jboss/.m2/repository/com/smartbear/soapui /soapui-maven-plugin/0.0.1-SNAPSHOT/soapui-maven-plugin-0.0.1-SNAPSHOT.jar [DEBUG] Schreiben der Tracking-Datei /home/jboss/.m2/repository/com/smartbear/soapui/ soapui-maven-plugin/0.0.1-SNAPSHOT/_remote.repositories [INFO] Installation /var/lib/jenkins/workspace/soapuiauto1/hd ap-project/pom.xml bis /home/jboss/.m2/repository/com/smartbear/soapui/soapui-maven-plugin/0.0.1-SNAPSHOT/soapui-maven-plugin-0.0.1-SNAPSHOT.pom [DEBUG] Writing-Tracking-Datei [INFO] Skipping JaCoCo Ausführung aufgrund fehlende Ausführungsdaten Datei: /var/lib/jenkins/workspace/soapuiauto1/hdap-project/target/jacoco.exec
Upstream-Benachrichtigung Projekte von Auftragsabschluss notifier Join erfordert eine CauseAction http://maven.apache.org/xsd/maven-4.0.0.xsd "> 4.0.0 com.smartbear.soapui soapui-maven-Plugin 0.0.0.1-SNAPSHOT 5.3.0 BADGER falsche ENVIRONMENT BADGER TURKEY falsche ENVIRONMENT TURKEY PANTHER falsche ENVIRONMENT PANTHER QA6 falsche ENVIRONMENT QA6 QA7 falsche ENVIRONMENT QA7 QA8 falsche ENVIRONMENT QA8 Smartbear-schweden-Plugin-Repository http://smartbearsoftware.com/repository/maven2/ vonage-m2-Plugin-Repository 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>
Ich sehe nirgendwo das Wort "Fehler". Beziehen Sie sich auf "Überspringen von JaCoCo-Ausführung wegen fehlender Ausführungsdatendatei: /var/lib/jenkins/workspace/soapuiauto1/hdap-project/target/jacoco.exec"? – mario
ja danke ich habe die Frage geändert –