New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Eclipse compiler in CI to control 0 Warning level #2600
Comments
@romani |
Issue is actual, but it will be addressed at https://github.com/checkstyle/checkstyle/wiki/Checkstyle-GSoC-2017-Project-Ideas#project-name-practice-what-you-preach |
Items to improve: I changed rule to be error:
executed:
build is failed but no details are printed. Please do PR(not for merge) with some rule enabled to show how it will be printed to user in logs.
version is defined in two places, so ECJ_VERSION does not make sense. Extra quotes have to be removed, see my last comment in PR. |
please do:
Unexpected message this should work:
After execution where is file with name "0", it is not expected. Nothing should be changed in repo that git can notice.
|
Did you intend to comment it? Why? |
this doesn't work. report file is empty. |
Could not reproduce it... |
I pretty sure it is result of problem 2)
just to make "... | cat " |
I fixed your script - 553e33b please rebase and proceed with testing of it on travis |
final fix is merged. |
Since it is not a regular Static Code Analysis tool, but a compiler I will need to investigate a way to show compiler warning/errors in the build flow. I will start from the checking this stackoverflow thread. If it will be too challenging to add it to the build we could just launch it by some command in CI.
Review and provide some shell instructions for Travis or Appveyor.
http://stackoverflow.com/questions/14198977/using-eclipse-compiler-in-jenkins-to-get-compiler-warnings-errors
we already have this for IntelijIdea IDE, so keeping Eclipse's warning to 0 by CI is also good idea.
The full list of available inspections you can find here.
The text was updated successfully, but these errors were encountered: