ci: debug sonar scanner mount and remove extra inclusions
This commit is contained in:
parent
00b36a65b1
commit
94be980c95
1 changed files with 2 additions and 1 deletions
|
|
@ -48,6 +48,8 @@ jobs:
|
|||
ls -la
|
||||
echo "Sample files:"
|
||||
find . -maxdepth 2 -type f | head -n 20
|
||||
echo "Check files inside scanner container:"
|
||||
docker run --rm -v "$PWD:/usr/src" -w /usr/src alpine sh -c "ls -la /usr/src | head && find /usr/src -maxdepth 2 -type f -name '*.js' | head -n 20"
|
||||
docker run --rm \
|
||||
-e SONAR_HOST_URL="$HOST_URL" \
|
||||
-e SONAR_TOKEN="$SONAR_TOKEN" \
|
||||
|
|
@ -58,7 +60,6 @@ jobs:
|
|||
-Dsonar.host.url="$HOST_URL" \
|
||||
-Dsonar.projectKey="$PROJECT_KEY" \
|
||||
-Dsonar.sources=. \
|
||||
"-Dsonar.inclusions=**/*.js" \
|
||||
-Dsonar.scm.disabled=true \
|
||||
-Dsonar.projectBaseDir=/usr/src
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue