Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.
So I was was trying to run pylint and nosetest running on a Jenkins
instance; but these python commands tend to return a non zero status
code if they see a non zero return code. This is a problem as it means
that any further steps are ignored. The most obvious thing to try was
pylint src/openhea -f parseable ; true
The problem is that both statements are treated as separate steps so
when the first one fails it never does the return true. Instead, and
pointed out by a helpful chap in the #efdhack2012 room was to do the
pylint src/openhea -f parseable || true
This correctly ignores the false status code, the only wrinkle is that
you need to be careful when piping the output, it has to be to the left
of the bars.
pylint src/openhea -f parseable > output.report || true
The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.