-
Notifications
You must be signed in to change notification settings - Fork 3
SonarQube issues plugin #29
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d6e6be3
SonarQube plugin
martindstone f9a76ba
remove extra images, fix mistake in column defs
martindstone da76bf8
prettier
martindstone e6876ba
lint
martindstone ecf9c57
words +1
martindstone e53bc96
moar tests
martindstone ee8cfc7
prettier tests
martindstone 72fefa5
move modal to new component, fix tests, better user feedback on comment
martindstone 4c4eaf6
update readme
martindstone 00f2b2c
take out hardcoded URL, fix tests and README
martindstone 4e362ee
lint
martindstone cff5f0e
punctuation
martindstone 80a8988
add entity type to message
martindstone fb06996
lint
martindstone 12a731d
Merge branch 'sonarqube-issues' of https://github.com/cortexapps/cort…
jreock 04bbe2f
Merge in without rebase
jreock 4f4051b
Merge back in pre-merge no rebase changes
jreock cdea449
Merge linting changes back in, something is inconsistent between yarn…
jreock 888bec0
Align linting in yarn, should fix build
jreock 9d86d8e
Resolve yarn inconsistencies
jreock 461e3c9
Merge branch 'master' into sonarqube-issues
jreock 991c498
Merge branch 'sonarqube-issues' of https://github.com/cortexapps/cort…
jreock 3f89742
fix review issues, add hooks, gently componentize
martindstone 916e5d8
oops make the name match the screenshot
martindstone 683a529
Merge branch 'sonarqube-issues' of https://github.com/cortexapps/cort…
jreock 6e9848a
fix readme
martindstone a4fc0fc
Update README.md
martindstone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Docs ask for the sonarqube-api-url key, but the code is checking for sonarqube-key:
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.
One more tweak and then I'm good to sign off! At the beginning, the README specifies:
If the cortex.yaml has a SonarQube Project defined in its x-cortex-static-analysis configuration, it will query for issues pertaining to that project. For example:And the example shows:
openapi: 3.0.1 info: title: Funrepo description: it is a fun repo x-cortex-git: github: alias: cortex repository: martindstone-org/funrepo x-cortex-tag: funrepo x-cortex-type: service x-cortex-static-analysis: sonarqube: **project: martindstone-org_funrepo**I think we need to call out specifically that the value in x-cortex-static-analysis.sonarqube.project needs to specifically match the project key in SonarQube and not the project name. That tripped me up once I got the authentication working, I started using the project name and it just wasn't retrieving issues, switched to project key and it works like a charm!!