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 Sonar scanning to builds #2365

Merged
merged 9 commits into from Jan 18, 2022
Merged

Add Sonar scanning to builds #2365

merged 9 commits into from Jan 18, 2022

Conversation

nvoxland
Copy link
Contributor

@nvoxland nvoxland commented Jan 13, 2022

Description

Add sonar scanning to standard buildserver build logic.

The results show as a PR status check, but also the build fails if the quality gate fails.

It's currently adding a comment in PRs when it fails, but that is configurable within the sonar UI.

Builds running this check: https://github.com/liquibase/liquibase/actions?query=branch%3Agithub-action-sonar

Copy link
Contributor

@jnewton03 jnewton03 left a comment

Choose a reason for hiding this comment

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

@nvoxland
Copy link
Contributor Author

Added the badge

@sonarcloud
Copy link

sonarcloud bot commented Jan 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@nvoxland nvoxland merged commit 99f59c5 into master Jan 18, 2022
@nvoxland nvoxland deleted the github-action-sonar branch January 18, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants