You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/08/14 19:37:49 UTC

[GitHub] eolivelli closed pull request #1583: WIP - Add JaCoco agent in stream module when using code-coverage profile

eolivelli closed pull request #1583: WIP - Add JaCoco agent in stream module when using code-coverage profile
URL: https://github.com/apache/bookkeeper/pull/1583
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/stream/pom.xml b/stream/pom.xml
index 1f8e39c7c0..54c800a672 100644
--- a/stream/pom.xml
+++ b/stream/pom.xml
@@ -85,7 +85,25 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <!-- profile used by jenkins CI -->
+      <id>code-coverage</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <!-- @{argLine} is a variable injected by JaCoCo-->
+              <argLine>@{argLine} -Xmx2G -Djava.net.preferIPv4Stack=true</argLine>
+              <reuseForks>false</reuseForks>
+              <!-- we want build to complete even in case of failures -->
+              <testFailureIgnore>true</testFailureIgnore>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+   </profile>
   </profiles>
-
 </project>
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services