Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Orekit
Orekit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Orekit
  • OrekitOrekit
  • Merge Requests
  • !125

Merged
Opened Jan 13, 2021 by Sébastien Dinot@sdinotOwner

Sonar target configuration

  • Overview 3
  • Commits 10
  • Pipelines 9
  • Changes 1

Currently, the SonarQube target is the same for all Orekit forks because the sonar.projectKey property is not defined on the Maven command line in the CI script. So the default value is used (<groupId>:<artifactId>) and this value is the same for all Orekit forks.

The purpose of this merge request is to solve this issue by providing two additional properties on the Maven command line:

  • sonar.projectKey: This key is built by concatenating the values of the project namespace and the project name (separated by a colon). For instance, for my fork, the key value is sdinot:orekit.

  • sonar.projectName: This key has been added to allow visual identification of the fork in the SonarQube interface as you can see in the screenshot below.

project

Warning: To enable a successful integration pipeline, you have to change the Orekit project key in SonarQube before accepting the merge request (org.orekit:orekit => orekit:orekit).

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: orekit/orekit!125
Source branch: sonar-target-config