sonar.cfamily.compile-commandsを使う#2096
Merged
berryzplus merged 2 commits intoJun 29, 2025
Merged
Conversation
SonarQube側の更新に合わせる。
Contributor
Author
|
Member
master では失敗しているhttps://sonarcloud.io/summary/new_code?id=sakura-editor_sakura&branch=master この PR では成功しているhttps://sonarcloud.io/summary/new_code?id=sakura-editor_sakura&pullRequest=2096 こういうこと? |
Contributor
Author
|
masterがfailedのキャプチャの右上に出てる masterがfailedでこのPRがSuccessになってるのは検証範囲の違いなので関係ありません。 それで合ってます。参考資料を更新しました。 |
m-tmatma
approved these changes
Jun 28, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.






PR対象
カテゴリ
SonarQube側の最新仕様に合わせる。
PR の背景
sonarcloudの解析オプション sonar.cfamily.build-wrapper-output がdeprecatedになっています。
仕様・動作説明
sonarcloudの解析オプションを変更します。
sonar.cfamily.build-wrapper-output (deprecated)
↓
sonar.cfamily.compile-commands
PR の影響範囲
GitHub Actions の sonarscan に影響する変更です。
SonarQube cloudに表示される警告が消えます。
テスト内容
SonarQube cloudの警告が消えていること。
関連 issue, PR
参考資料
sonar-project.properties ファイルについての解説
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner/#configuring-your-project
sonar.cfamily.compile-commandsについての説明
https://docs.sonarsource.com/sonarqube-server/10.8/analyzing-source-code/languages/c-family/running-the-analysis/