slachiewicz opened a new pull request, #819:
URL: https://github.com/apache/maven-invoker-plugin/pull/819

   A job that failed with anything other than a build or hook failure, such as 
an `invoker.timeoutInSeconds` that is not a number or a script that puts a 
GString into `context.userProperties`, was written to its `BUILD-*.xml` report 
without a `result`, so `invoker:verify` printed "Errors: 0" and passed while 
`invoker:run` reported the job as an error. The job now gets `result="error"` 
with the exception as `failureMessage` before the report is written, the 
exception is logged at error level, a report without a result counts as an 
error, and non-String script user properties are passed on as Strings.
   
   Fixes #818
   
   Verified: `src/it/errored-job-reported` → fails on master with BUILD SUCCESS 
from integration-test and verify, passes with the change
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to