Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はSonarとJenkinsの統合を使用しています。プロジェクト全体ではなく、プロジェクトのサブモジュールでのみSonarを実行したいと思います。しかし、Sonarのオプションで-plサブモジュールを指定すると、サポートされていないと表示されます。
これを達成する方法はありますか?
ありがとう
cdサブモジュールに移動し、mvn sonar:sonarそこで実行します。
cd
mvn sonar:sonar
このアプローチの欠点は、Sonar サーバーに新しい最上位エントリが作成されることです。Sonar は、サブモジュールの実行結果を既存の完全な分析とマージできません。