jira-importer commented on issue #304:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/304#issuecomment-2957778531

   **[Benjamin 
Bentmann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bentmann)**
 commented
   
   The additions for MINVOKER-33 introduced a new properties file that allows 
more control over the invocation settings for a particular IT. The properties 
interesting for your use case:
   
   ```
   1. either this way 
   invoker.buildResult=failure
   1. or that way
   invoker.failureBehavior=fail-never
   ```
   
   The setting `buildResult` allows to directly assert that the IT project 
build should fail. If it doesn't, the IT is marked as a failure and the post 
build script is not executed. If your script should really run always 
regardless of the IT build result, you need to leave `buildResult=success` and 
use `failureBehavior=fail-never` instead.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to