-
Notifications
You must be signed in to change notification settings - Fork 16
Make severity of scanning empty files configurable #228
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
Conversation
uhafner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not checkin unrelated files. You are also not using the correct coding style.
src/test/java/io/jenkins/plugins/util/AgentFileVisitorTest.java
Outdated
Show resolved
Hide resolved
uhafner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are almost there 😄
src/test/java/io/jenkins/plugins/util/AgentFileVisitorTest.java
Outdated
Show resolved
Hide resolved
|
I have two questions. if you can please respond
|
I think you are using an outdated version of IntelliJ. (The removed parameter JavaDoc also was an IntelliJ bug that has been fixed recently). For details see: https://github.com/jenkinsci/plugin-pom/releases/tag/plugin-4.40 |
|
ok got it thank you and please review the PR |
|
You need to fix the errors first. |
|
Locally maven build is successful with java 17 and all the errors are gone after updating the IntelliJ to the 2022.2 version. I don't know the cause of this error here. |
|
There is a compile error: https://github.com/jenkinsci/plugin-util-api-plugin/actions/runs/3570909394/jobs/6002310967 Can you merge with master and retry? |
|
Maybe you did not commit all changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did merge with your master branch, but actually you needed to merge with my master branch 😄
|
Okay got it, Thank you. |
|
I updated the following 2 PRs now with your changes to see if the consumers still work. When those builds are green, then I will merge and release this plugin:
Then we can continue with the last step for https://issues.jenkins.io/browse/JENKINS-69036. I'll comment there what to do next. |
Added a new constructor parameter errorOnEmptyFiles, default is true
If the parameter is set, log the empty files message as error. Otherwise, log it as info.