Skip to content

Commit

Permalink
Added license and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Sladyn committed Jun 17, 2019
1 parent d38bc21 commit 06e8a73
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 50 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Added a generic JSON parser that reads all properties of the internal `Issue` object.
- [PR#57](https://github.com/jenkinsci/warnings-ng-plugin/pull/57):
Added a parser for MentorGraphcis Modelsim/Questa.
- [PR#111](https://github.com/jenkinsci/warnings-ng-plugin/pull/111):
Added a Kotlin Parser.

### Fixed
- [JENKINS-56007](https://issues.jenkins-ci.org/browse/JENKINS-56007): Obtain the affected files in a process on the
Expand Down
99 changes: 50 additions & 49 deletions SUPPORTED-FORMATS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--- DO NOT EDIT - Generated by ToolsLister at 2019-05-13T23:09:01.116-->
<!--- DO NOT EDIT - Generated by ToolsLister at 2019-06-17T18:01:05.601-->
# Supported Report Formats

Jenkins' Warnings Next Generation Plugin supports the following report formats.
Expand Down Expand Up @@ -60,7 +60,7 @@ the [Analysis Parsers Library](https://github.com/jenkinsci/analysis-model/).
| 40 | go-vet | goVet() | - - | Go Vet | |
| 41 | groovy | groovyScript() | - - | Groovy Parser | |
| 42 | iar-cstat | iarCstat() | - - | IAR C-STAT | |
| 43 | iar | iar() | - - | IAR Compiler (C/C++) | |
| 43 | iar | iar() | - - | IAR Compiler (C/C&#43;&#43;) | |
| 44 | iblinter | ibLinter() | - - | [IBLinter](https://github.com/IBDecodable/IBLinter) | |
| 45 | xlc | xlc() | - - | IBM XLC Compiler | |
| 46 | infer | infer() | - - | [Infer](http://fbinfer.com) | |
Expand All @@ -72,50 +72,51 @@ the [Analysis Parsers Library](https://github.com/jenkinsci/analysis-model/).
| 52 | js-hint | jsHint() | - - | JSHint | |
| 53 | jslint | jsLint() | - - | [JSLint](https://www.jslint.com) | |
| 54 | klocwork | klocWork() | - - | Klocwork | |
| 55 | ktlint | ktLint() | ![Ktlint](src/main/webapp/icons/ktlint-24x24.png) ![Ktlint](src/main/webapp/icons/ktlint-48x48.png) | [Ktlint](https://ktlint.github.io) | |
| 56 | maven-warnings | mavenConsole() | - - | Maven | |
| 57 | taglist | tagList() | - - | [Maven Taglist Plugin](https://www.mojohaus.org/taglist-maven-plugin) | **/taglist.xml |
| 58 | modelsim | modelsim() | - - | MentorGraphics Modelsim/Questa | |
| 59 | metrowerks | metrowerksCodeWarrior() | - - | Metrowerks CodeWarrior | |
| 60 | msbuild | msBuild() | - - | MSBuild | |
| 61 | mypy | myPy() | - - | MyPy | |
| 62 | nag-fortran | nagFortran() | - - | NAG Fortran Compiler | |
| 63 | open-tasks | taskScanner() | ![Open Tasks Scanner](src/main/webapp/icons/open-tasks-24x24.png) ![Open Tasks Scanner](src/main/webapp/icons/open-tasks-48x48.png) | Open Tasks Scanner | - |
| 64 | invalids | invalids() | - - | Oracle Invalids | |
| 65 | pclint | pcLint() | - - | PC-Lint | |
| 66 | pep8 | pep8() | - - | Pep8 | |
| 67 | perforce | perforce() | - - | Perforce Compiler | |
| 68 | perl-critic | perlCritic() | - - | Perl::Critic | |
| 69 | php | php() | - - | PHP Runtime | |
| 70 | php-code-sniffer | phpCodeSniffer() | - - | [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) | |
| 71 | phpstan | phpStan() | ![PHPStan](src/main/webapp/icons/phpstan-24x24.png) ![PHPStan](src/main/webapp/icons/phpstan-48x48.png) | [PHPStan](https://github.com/phpstan/phpstan) | |
| 72 | pit | pit() | ![Pit Test Coverage](src/main/webapp/icons/pit-24x24.png) ![Pit Test Coverage](src/main/webapp/icons/pit-48x48.png) | [Pit Test Coverage](http://pitest.org) | |
| 73 | pmd | pmdParser() | ![PMD](src/main/webapp/icons/pmd-24x24.png) ![PMD](src/main/webapp/icons/pmd-48x48.png) | [PMD](https://pmd.github.io) | **/pmd.xml |
| 74 | prefast | prefast() | - - | PREfast | |
| 75 | puppetlint | puppetLint() | - - | Puppet-Lint | |
| 76 | pydocstyle | pyDocStyle() | - - | Pydocstyle | |
| 77 | pylint | pyLint() | ![Pylint](src/main/webapp/icons/pylint-24x24.png) ![Pylint](src/main/webapp/icons/pylint-48x48.png) | Pylint | |
| 78 | qac | qacSourceCodeAnalyser() | - - | QA-C Sourcecode Analyser | |
| 79 | dupfinder | dupFinder() | ![Resharper dupFinder](src/main/webapp/icons/dry-24x24.png) ![Resharper dupFinder](src/main/webapp/icons/dry-48x48.png) | Resharper dupFinder | |
| 80 | resharper | resharperInspectCode() | ![Resharper InspectCode](src/main/webapp/icons/resharper-24x24.png) ![Resharper InspectCode](src/main/webapp/icons/resharper-48x48.png) | Resharper InspectCode | |
| 81 | robocopy | robocopy() | - - | Robocopy | |
| 82 | rflint | rfLint() | ![Robot Framework Lint](src/main/webapp/icons/robot-framework-24x24.png) ![Robot Framework Lint](src/main/webapp/icons/robot-framework-48x48.png) | Robot Framework Lint | |
| 83 | rubocop | ruboCop() | ![RuboCop](src/main/webapp/icons/rubocop-24x24.png) ![RuboCop](src/main/webapp/icons/rubocop-48x48.png) | RuboCop | |
| 84 | scala | scala() | ![Scala Compiler](src/main/webapp/icons/scala-24x24.png) ![Scala Compiler](src/main/webapp/icons/scala-48x48.png) | Scala Compiler | |
| 85 | simian | simian() | ![Simian](src/main/webapp/icons/dry-24x24.png) ![Simian](src/main/webapp/icons/dry-48x48.png) | Simian | |
| 86 | sonar | sonarQube() | ![SonarQube](src/main/webapp/icons/sonar-24x24.png) ![SonarQube](src/main/webapp/icons/sonar-48x48.png) | SonarQube | **/sonar-report.json |
| 87 | sphinx | sphinxBuild() | - - | Sphinx-build | |
| 88 | spotbugs | spotBugs() | ![SpotBugs](src/main/webapp/icons/spotbugs-24x24.png) ![SpotBugs](src/main/webapp/icons/spotbugs-48x48.png) | [SpotBugs](https://spotbugs.github.io) | **/spotbugsXml.xml |
| 89 | stylecop | styleCop() | - - | StyleCop | |
| 90 | sunc | sunC() | - - | SUN C++ Compiler | |
| 91 | swiftlint | swiftLint() | - - | [SwiftLint](https://github.com/realm/SwiftLint) | |
| 92 | tasking-vx | taskingVx() | - - | TASKING VX Compiler | |
| 93 | code-composer | tiCss() | - - | Texas Instruments Code Composer Studio | |
| 94 | tnsdl | tnsdl() | - - | TNSDL Translator | |
| 95 | tslint | tsLint() | - - | [TSLint](https://palantir.github.io/tslint/) | |
| 96 | issues | issues() | - - | Warnings Plugin Native Format | |
| 97 | diabc | diabC() | - - | Wind River Diab Compiler (C/C++) | |
| 98 | xmllint | xmlLint() | - - | XML Lint | |
| 99 | yamllint | yamlLint() | - - | [YamlLint](https://yamllint.readthedocs.io/) | |
| 100 | yui | yuiCompressor() | - - | YUI Compressor | |
| 101 | zptlint | zptLint() | - - | ZPT Lint | |
| 55 | kotlin | kotlin() | ![Kotlin](src/main/webapp/icons/kotlin-24x24.png) ![Kotlin](src/main/webapp/icons/kotlin-48x48.png) | Kotlin | |
| 56 | ktlint | ktLint() | ![Ktlint](src/main/webapp/icons/ktlint-24x24.png) ![Ktlint](src/main/webapp/icons/ktlint-48x48.png) | [Ktlint](https://ktlint.github.io) | |
| 57 | maven-warnings | mavenConsole() | - - | Maven | |
| 58 | taglist | tagList() | - - | [Maven Taglist Plugin](https://www.mojohaus.org/taglist-maven-plugin) | **/taglist.xml |
| 59 | modelsim | modelsim() | - - | MentorGraphics Modelsim/Questa | |
| 60 | metrowerks | metrowerksCodeWarrior() | - - | Metrowerks CodeWarrior | |
| 61 | msbuild | msBuild() | - - | MSBuild | |
| 62 | mypy | myPy() | - - | MyPy | |
| 63 | nag-fortran | nagFortran() | - - | NAG Fortran Compiler | |
| 64 | open-tasks | taskScanner() | ![Open Tasks Scanner](src/main/webapp/icons/open-tasks-24x24.png) ![Open Tasks Scanner](src/main/webapp/icons/open-tasks-48x48.png) | Open Tasks Scanner | - |
| 65 | invalids | invalids() | - - | Oracle Invalids | |
| 66 | pclint | pcLint() | - - | PC-Lint | |
| 67 | pep8 | pep8() | - - | Pep8 | |
| 68 | perforce | perforce() | - - | Perforce Compiler | |
| 69 | perl-critic | perlCritic() | - - | Perl::Critic | |
| 70 | php | php() | - - | PHP Runtime | |
| 71 | php-code-sniffer | phpCodeSniffer() | - - | [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) | |
| 72 | phpstan | phpStan() | ![PHPStan](src/main/webapp/icons/phpstan-24x24.png) ![PHPStan](src/main/webapp/icons/phpstan-48x48.png) | [PHPStan](https://github.com/phpstan/phpstan) | |
| 73 | pit | pit() | ![Pit Test Coverage](src/main/webapp/icons/pit-24x24.png) ![Pit Test Coverage](src/main/webapp/icons/pit-48x48.png) | [Pit Test Coverage](http://pitest.org) | |
| 74 | pmd | pmdParser() | ![PMD](src/main/webapp/icons/pmd-24x24.png) ![PMD](src/main/webapp/icons/pmd-48x48.png) | [PMD](https://pmd.github.io) | **/pmd.xml |
| 75 | prefast | prefast() | - - | PREfast | |
| 76 | puppetlint | puppetLint() | - - | Puppet-Lint | |
| 77 | pydocstyle | pyDocStyle() | - - | Pydocstyle | |
| 78 | pylint | pyLint() | ![Pylint](src/main/webapp/icons/pylint-24x24.png) ![Pylint](src/main/webapp/icons/pylint-48x48.png) | Pylint | |
| 79 | qac | qacSourceCodeAnalyser() | - - | QA-C Sourcecode Analyser | |
| 80 | dupfinder | dupFinder() | ![Resharper dupFinder](src/main/webapp/icons/dry-24x24.png) ![Resharper dupFinder](src/main/webapp/icons/dry-48x48.png) | Resharper dupFinder | |
| 81 | resharper | resharperInspectCode() | ![Resharper InspectCode](src/main/webapp/icons/resharper-24x24.png) ![Resharper InspectCode](src/main/webapp/icons/resharper-48x48.png) | Resharper InspectCode | |
| 82 | robocopy | robocopy() | - - | Robocopy | |
| 83 | rflint | rfLint() | ![Robot Framework Lint](src/main/webapp/icons/robot-framework-24x24.png) ![Robot Framework Lint](src/main/webapp/icons/robot-framework-48x48.png) | Robot Framework Lint | |
| 84 | rubocop | ruboCop() | ![RuboCop](src/main/webapp/icons/rubocop-24x24.png) ![RuboCop](src/main/webapp/icons/rubocop-48x48.png) | RuboCop | |
| 85 | scala | scala() | ![Scala Compiler](src/main/webapp/icons/scala-24x24.png) ![Scala Compiler](src/main/webapp/icons/scala-48x48.png) | Scala Compiler | |
| 86 | simian | simian() | ![Simian](src/main/webapp/icons/dry-24x24.png) ![Simian](src/main/webapp/icons/dry-48x48.png) | Simian | |
| 87 | sonar | sonarQube() | ![SonarQube](src/main/webapp/icons/sonar-24x24.png) ![SonarQube](src/main/webapp/icons/sonar-48x48.png) | SonarQube | **/sonar-report.json |
| 88 | sphinx | sphinxBuild() | - - | Sphinx-build | |
| 89 | spotbugs | spotBugs() | ![SpotBugs](src/main/webapp/icons/spotbugs-24x24.png) ![SpotBugs](src/main/webapp/icons/spotbugs-48x48.png) | [SpotBugs](https://spotbugs.github.io) | **/spotbugsXml.xml |
| 90 | stylecop | styleCop() | - - | StyleCop | |
| 91 | sunc | sunC() | - - | SUN C&#43;&#43; Compiler | |
| 92 | swiftlint | swiftLint() | - - | [SwiftLint](https://github.com/realm/SwiftLint) | |
| 93 | tasking-vx | taskingVx() | - - | TASKING VX Compiler | |
| 94 | code-composer | tiCss() | - - | Texas Instruments Code Composer Studio | |
| 95 | tnsdl | tnsdl() | - - | TNSDL Translator | |
| 96 | tslint | tsLint() | - - | [TSLint](https://palantir.github.io/tslint/) | |
| 97 | issues | issues() | - - | [Warnings Plugin Native Format](https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md#export-your-issues-into-a-supported-format) | |
| 98 | diabc | diabC() | - - | Wind River Diab Compiler (C/C&#43;&#43;) | |
| 99 | xmllint | xmlLint() | - - | XML Lint | |
| 100 | yamllint | yamlLint() | - - | [YamlLint](https://yamllint.readthedocs.io/) | |
| 101 | yui | yuiCompressor() | - - | YUI Compressor | |
| 102 | zptlint | zptLint() | - - | ZPT Lint | |
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import edu.hm.hafner.analysis.parser.JavacParser;
import edu.umd.cs.findbugs.annotations.NonNull;
import hudson.Extension;
import io.jenkins.plugins.analysis.core.model.IconLabelProvider;
import io.jenkins.plugins.analysis.core.model.ReportScanningTool;
import io.jenkins.plugins.analysis.core.model.StaticAnalysisLabelProvider;
import org.jenkinsci.Symbol;
import org.kohsuke.stapler.DataBoundConstructor;

Expand Down Expand Up @@ -49,5 +51,10 @@ public Descriptor() {
public String getDisplayName() {
return Messages.Warnings_Kotlin_ParserName();
}

@Override
public StaticAnalysisLabelProvider getLabelProvider() {
return new IconLabelProvider(getId(), getDisplayName());
}
}
}
9 changes: 9 additions & 0 deletions src/main/webapp/icons/LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,12 @@ At the time of writing:

The icons were downloaded from the official robot framework visual identity github page and were resized. No other
modifications were made.


------------------------------------------------------------------------------

License for Kotlin Icons

The kotlin logo has been referenced from https://kotlinlang.org/docs/reference/faq.html#where-can-i-get-an-hd-kotlin-logo
The link to https://www.jetbrains.com has been provided as a license agreement.
No modifications to the icon were made except the scale has been brought down to 48x48.
Binary file added src/main/webapp/icons/kotlin-24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/webapp/icons/kotlin-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ public void shouldFindAllJavaIssues() {
}

/**
* Runs the Kotlin parser on several output files that contain 4 issues.
* Runs the Kotlin parser on several output files that contain 1 issues.
*/
@Test
public void shouldFindAllKotlinIssues() {
Expand Down

0 comments on commit 06e8a73

Please sign in to comment.