On Thu, Oct 5, 2017 at 1:33 PM, Luis Gomez <[email protected]> wrote:

> Thats OK Thanh, something I do not understand is the unit test that fails
> in the merge job does not fail in the integration and the verify jobs that
> also build the master branch head.
>

This is because the merge job is still a "Maven Project" type. In Jenkins
maven projects types are able to detect when only unit tests failre and
marks the build as unstable instead of failing the build outright. If this
was a "Freestyle" job it will either completely fail the build or keep
going ignoring the failure. I'm not sure how Maven decides if a unit test
is bad enough to cause build failure or can be skipped but it seems like
this is the piece that makes it unstable/failed in "Maven project" job
types vs "failed/success" in freestyle job types.

Additionally in our Merge jobs we have it configured to purposely not
deploy if build returns unstable.

Regards,
Thanh
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to