Skip to content
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

Add support for protolint #241

Merged
merged 4 commits into from
Oct 25, 2019
Merged

Add support for protolint #241

merged 4 commits into from
Oct 25, 2019

Conversation

djh82
Copy link
Contributor

@djh82 djh82 commented Oct 23, 2019

Add pareser for protolint

@jenkinsci jenkinsci deleted a comment Oct 24, 2019
*/
public class ProtoLint extends ReportScanningTool {

private static final long serialVersionUID = -5718503998068521571L;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong indention, strange that this is not reported by Codacy...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, yes, done.


@Override
public boolean canScanConsoleLog() {
return false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is that? Should be used only for JSON or XML reports. I think you are parsing single lines... You can remove the method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

}

@Override
public StaticAnalysisLabelProvider getLabelProvider() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this method, this is the default implementation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@jenkinsci jenkinsci deleted a comment Oct 24, 2019
@djh82
Copy link
Contributor Author

djh82 commented Oct 25, 2019

I have no idea why this failed.

@uhafner
Copy link
Member

uhafner commented Oct 25, 2019

Hmm, I also don't know what is wrong in GitHub Actions windows build, the command is mvn -V clean verify --file pom.xml -Djenkins.test.timeout=5000 but somehow the last option is not interpreted correctly...

@uhafner uhafner merged commit 7e6eff0 into jenkinsci:master Oct 25, 2019
@uhafner uhafner changed the title Feature/protolint Add support for protolint Oct 25, 2019
@uhafner uhafner added the enhancement Enhancement of existing functionality label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants