Sonarcloud not detecting the sourcefiles in the repo

Template for a good new topic, formatted with Markdown:

  • we are using Azure devops to intergatre the sonar cloud and everything is setup properly, it is mulesoft project, it includes xml, Raml files.

and here is the configuration we used, we dont see any errors but we dont see anything in the src files, we sometime see pom.xml and azurepipelines.yml and sometimes see only pom.xml.

  • task: SonarCloudPrepare@1
    inputs:
    SonarCloud: ‘xxx’
    organization: xxx’
    scannerMode: ‘Other’
    extraProperties: |
    # Additional properties that will be passed to the scanner,
    # Put one key=value per line, example:
    # sonar.exclusions=**/*.bin
    sonar.projectKey=xxxxx
    sonar.projectName=xxxx
    I am also trying to force the analysis type but it says unknown and dont see any options to add anything.

Hi,

Welcome to the community!

Can you share your analysis logs?

 
Ann