Hi Marco: I tried what you suggested. As you can see from the output below I have 10 Skipped but I am still getting Build Success. Any time that Skipped is >0 I want Build Failure.
Tests run: 14880, Failures: 0, Errors: 0, Skipped: 10 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.306 s [INFO] Finished at: 2018-04-23T14:43:38-06:00 [INFO] Final Memory: 52M/698M [INFO] ------------------------------------------------------------------- Thanks Mark Walton -----Original Message----- From: Marco Schulz [mailto:[email protected]] Sent: Monday, April 23, 2018 2:26 PM To: [email protected] Subject: Re: Skipped tests hi <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.21.0</version> <configuration> <argLine>-XX:-UseSplitVerifier</argLine> <testFailureIgnore>true</testFailureIgnore> <skipTests>${skipTests}</skipTests> </configuration> </plugin> see the full POM at: https://github.com/ElmarDott/TP-CM/blob/master/build-workflow/pom.xml On Mon, 2018-04-23 at 19:22 +0000, Walton, Mark (CGI Federal) wrote: Hi: Does anyone know how to configure SureFire so that skipped tests result in Build Failure Thanks Proprietary/confidential information belonging to CGI Federal Inc. or its affiliates may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for the delivery of this message to such person), or if you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message to anyone else. In such case, you should destroy this message and are asked to notify the sender by reply email. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
