Jenkins code-analysis now returns proper error codes. Adapt the test accordingly.