Failing analysis ID: "dc1176a1-3dfd-4c5f-ab8f-879e77d6c092"

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub)
  • Scanner command: auto
  • Languages of the repository: Javascript
  • Steps to reproduce:

the error was presented right after adding the .sonarcloud.properties file

#
# https://docs.sonarcloud.io/advanced-setup/analysis-scope/
#

# Path to sources
sonar.sources=/lib/**
#sonar.exclusions=
#sonar.inclusions=

# Path to tests
sonar.tests=/test/**
#sonar.test.exclusions=
#sonar.test.inclusions=

# Source encoding
sonar.sourceEncoding=UTF-8

# Exclusions for copy-paste detection
#sonar.cpd.exclusions=

Hey there.

sonar.sources and sonar.tests do not accept glob patterns, only a comma separated list of directories.

So I think what you’re trying to achieve (and may stop the error) would be:

sonar.sources=lib
sonar.tests=test

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.