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

Integration with Jenkins CI #31

Open
nysander opened this issue Apr 8, 2019 · 3 comments
Open

Integration with Jenkins CI #31

nysander opened this issue Apr 8, 2019 · 3 comments

Comments

@nysander
Copy link

@nysander nysander commented Apr 8, 2019

Hello, as I am building full stack solution for keeping high code quality standards of my swift apps and I found your project which I find suitable for my Jenkins CI appliance.

I wanted to ask if it is possible to add XML formater for example in Checkstyle 4.3 XML format to easily integrate with jenkinsci/warnings-ng-plugin.

@ileitch
Copy link
Contributor

@ileitch ileitch commented May 5, 2019

Yeah that'd be a great addition, PRs are welcome!

@nysander
Copy link
Author

@nysander nysander commented May 5, 2019

Atm my swift knowledge is too little to be able to make pr for this but if nobody else will do it I will try to do it when I learn more

@nysander
Copy link
Author

@nysander nysander commented Jul 7, 2019

here are implementations of check style report in tools I use in my Jenkins CI

IBLinter: https://github.com/IBDecodable/IBLinter/blob/master/Sources/IBLinterKit/Reporters/CheckstyleReporter.swift

SwiftLint: https://github.com/realm/SwiftLint/blob/master/Source/SwiftLintFramework/Reporters/CheckstyleReporter.swift

first I've made based on second one. there is also Jenkins plugin which aggregates all warnings and errors:

https://github.com/jenkinsci/warnings-ng-plugin to which I've added copy paste implementation of IBLinter support - so it is available on reporters lists (not just common checkstyle plugin)

as periphery logs after scan are big I am not sure if its support for Jenkins should not be something similar to JSCPD plugin (which calculates code duplication): https://github.com/kucherenko/jscpd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.