Ignoring build errors
Hi,
Im trying to use CheckStyle in our build, so I added a task and a logpublisher action to the build file. When I do this, I get some errors reported by CheckStyle, which is OK. What I like to change is that I do not want the build to fail on those errors. E.g. Id like to keep an eye on the trend on the amount of coding style errors, but I do not want the build to fail with every error that gets introduced. What are the options to do this? Thanks, Ron de Jong |
One answer
Sounds like the build is failing because the CheckStyle task is
returning an error exit code. The Jazz Build Engine will automatically set a build to failed if the ANT process exits with an error. Does the CheckStyle have a flag for whether or not to fail when it encounters an error? If so, set the flag not to fail. Martha Ron de Jong wrote: Hi, |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.