After upgrading Sonarqube to 7.9.1 from 6.7.2, 0 files being indexed

After upgrading Sonarqube to 7.9.1 from 6.7.2, 0 files being indexed. Output from both scans below. Please help.

Sonar.properties file content below.

sonar.projectKey=il-buyside-service
sonar.projectName=il-buyside-service
sonar.projectVersion=0.0.2
sonar.sources=dist/build/rpmbuild/BUILD/${sonar.projectName}-${sonar.projectVersion}/src
sonar.inclusions=dist/build/rpmbuild/BUILD/${sonar.projectName}-${sonar.projectVersion}/src/*.js, dist/build/rpmbuild/BUILD/${sonar.projectName}-${sonar.projectVersion}/src/server/**
sonar.exclusions=dist/build/rpmbuild/BUILD/${sonar.projectName}-${sonar.projectVersion}/src/server/helpers/ai/*_pb.js
sonar.tests=dist/build/rpmbuild/BUILD/${sonar.projectName}-${sonar.projectVersion}/src/test
sonar.javascript.lcov.reportPaths=dist/build/rpmbuild/BUILD/${sonar.projectName}-${sonar.projectVersion}/src/coverage/lcov.info
sonar.language=js
sonar.javascript.environments=mocha,node
sonar.javascript.globals=__dirname,require,include,global,module,process,Buffer,describe,before,after,beforeEach,afterEach,it,step,_,$i,base_dir
sonar.branch.name=bugfix/BDD-1817-be-update-checklist-item-2
sonar.branch.target=master

SQ 6.7.2 output below:

**15:52:05** [BUYS.il-buyside-service.PR-OPENED.BUILD] $ /home/****/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/IL_Sonarqube/bin/sonar-scanner -Dsonar.host.url=http://sonarqube.intralinks.com -Dproject.settings=/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/sonar-project.properties -Dsonar.projectName=il-buyside-service -Dsonar.projectVersion=0.0.2 -Dsonar.projectKey=il-buyside-service -Dsonar.projectBaseDir=/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD
**15:52:05** INFO: Scanner configuration file: /home/****/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/IL_Sonarqube/conf/sonar-scanner.properties
**15:52:05** INFO: Project root configuration file: /home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/sonar-project.properties
**15:52:05** INFO: SonarQube Scanner 3.0.3.778
**15:52:05** INFO: Java 10.0.1 Oracle Corporation (64-bit)
**15:52:05** INFO: Linux 3.10.0-693.2.1.el7.x86_64 amd64
**15:52:06** INFO: User cache: /home/****/.sonar/cache
**15:52:06** INFO: Publish mode
**15:52:07** INFO: Load global settings
**15:52:07** INFO: Load global settings (done) | time=112ms
**15:52:07** INFO: Server id: AV2AE0BOUz4RUnWGt_6T
**15:52:07** INFO: User cache: /home/****/.sonar/cache
**15:52:07** INFO: Load plugins index
**15:52:07** INFO: Load plugins index (done) | time=107ms
**15:52:08** INFO: SonarQube server 6.7.2
**15:52:08** INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
**15:52:09** INFO: Process project properties
**15:52:09** INFO: Load project branches
**15:52:09** INFO: Load project branches (done) | time=57ms
**15:52:09** INFO: Load branch configuration
**15:52:09** INFO: Load branch configuration (done) | time=1ms
**15:52:09** INFO: Load project repositories
**15:52:09** INFO: Load project repositories (done) | time=125ms
**15:52:09** INFO: Load quality profiles
**15:52:09** INFO: Load quality profiles (done) | time=76ms
**15:52:09** INFO: Load active rules
**15:52:11** INFO: Load active rules (done) | time=1429ms
**15:52:11** INFO: Load metrics repository
**15:52:11** INFO: Load metrics repository (done) | time=32ms
**15:52:11** INFO: Project key: il-buyside-service
**15:52:11** INFO: Branch name: bugfix/BDD-1444-be-isauthorize-validation-fails-when-duplicate-assignmentcontext-is-present, type: short living
**15:52:11** INFO: ------------- Scan il-buyside-service
**15:52:11** INFO: Load server rules
**15:52:11** INFO: Load server rules (done) | time=198ms
**15:52:11** INFO: Base dir: /home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD
**15:52:11** INFO: Working dir: /home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/.scannerwork
**15:52:11** INFO: Source paths: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src
**15:52:11** INFO: Test paths: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test
**15:52:11** INFO: Source encoding: UTF-8, default locale: en_US
**15:52:11** INFO: SCM collecting changed files in the branch
**15:52:11** INFO: SCM collecting changed files in the branch (done) | time=0ms
**15:52:11** INFO: Language is forced to js
**15:52:11** INFO: Index files
**15:52:11** INFO: Included sources:
**15:52:11** INFO: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/*.js
**15:52:11** INFO: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/server/**
**15:52:11** INFO: Excluded sources:
**15:52:11** INFO: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/server/helpers/ai/*_pb.js
**15:52:11** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/server/errors/errors.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:11** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/server/helpers/events/subscriptions.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/minimal.pdf' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspace_folders_200.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspace_folders_403.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspace_splash_200.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspaces_500.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v3_iamusers_401.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspaces_200.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspace_splash_401.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/server/helpers/api-spec.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v2_workspaces_401.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** WARN: File '/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/test/nock/v3_iamusers_403.json' is ignored because it doesn't belong to the forced language 'js'
**15:52:13** INFO: 116 files indexed

SQ 7.9.1 output below:

**17:59:37** [BUYS.il-buyside-service.PR-OPENED.BUILD] $ /home/****/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/IL_Sonarqube/bin/sonar-scanner -Dsonar.host.url=http://sonarqube.intralinks.com -Dproject.settings=/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/sonar-project.properties -Dsonar.projectName=il-buyside-service -Dsonar.projectVersion=0.0.2 -Dsonar.projectKey=il-buyside-service -Dsonar.projectBaseDir=/home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD
**17:59:37** INFO: Scanner configuration file: /home/****/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/IL_Sonarqube/conf/sonar-scanner.properties
**17:59:37** INFO: Project root configuration file: /home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/sonar-project.properties
**17:59:37** INFO: SonarQube Scanner 4.0.0.1744
**17:59:37** INFO: Java 10.0.1 Oracle Corporation (64-bit)
**17:59:37** INFO: Linux 3.10.0-693.2.1.el7.x86_64 amd64
**17:59:38** INFO: User cache: /home/****/.sonar/cache
**17:59:38** INFO: SonarQube server 7.9.1
**17:59:38** INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
**17:59:39** WARN: SonarScanner will require Java 11+ to run starting in SonarQube 8.x
**17:59:39** INFO: Load global settings
**17:59:39** INFO: Load global settings (done) | time=160ms
**17:59:39** INFO: Server id: 86E1FA4D-AV2AE0BOUz4RUnWGt_6T
**17:59:39** INFO: User cache: /home/****/.sonar/cache
**17:59:39** INFO: Load/download plugins
**17:59:39** INFO: Load plugins index
**17:59:39** INFO: Load plugins index (done) | time=139ms
**17:59:40** INFO: Load/download plugins (done) | time=325ms
**17:59:40** INFO: Loaded core extensions: developer-scanner
**17:59:41** INFO: Process project properties
**17:59:41** INFO: Execute project builders
**17:59:41** INFO: Execute project builders (done) | time=5ms
**17:59:41** INFO: Project key: il-buyside-service
**17:59:41** INFO: Base dir: /home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD
**17:59:41** INFO: Working dir: /home/****/jenkins/workspace/BUYS.il-buyside-service.PR-OPENED.BUILD/.scannerwork
**17:59:41** INFO: Load project settings for component key: 'il-buyside-service'
**17:59:41** INFO: Load project settings for component key: 'il-buyside-service' (done) | time=52ms
**17:59:41** INFO: Load project branches
**17:59:41** INFO: Load project branches (done) | time=65ms
**17:59:41** INFO: Load project pull requests
**17:59:41** INFO: Load project pull requests (done) | time=26ms
**17:59:41** INFO: Load branch configuration
**17:59:41** INFO: Load branch configuration (done) | time=4ms
**17:59:41** INFO: Load quality profiles
**17:59:41** INFO: Load quality profiles (done) | time=119ms
**17:59:41** INFO: Detected Jenkins
**17:59:41** INFO: Load active rules
**17:59:43** INFO: Load active rules (done) | time=1708ms
**17:59:43** INFO: Branch name: bugfix/BDD-1817-be-update-checklist-item-2, type: short living
**17:59:43** INFO: SCM collecting changed files in the branch
**17:59:43** INFO: SCM collecting changed files in the branch (done) | time=190ms
**17:59:43** INFO: Indexing files...
**17:59:43** INFO: Project configuration:
**17:59:43** INFO: Included sources: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/*.js, dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/server/**
**17:59:43** INFO: Excluded sources: dist/build/rpmbuild/BUILD/il-buyside-service-0.0.2/src/server/helpers/ai/*_pb.js
**17:59:46** INFO: 0 files indexed
**17:59:46** INFO: 0 files ignored because of inclusion/exclusion patterns
**17:59:46** INFO: 0 files ignored because of **** ignore settings
**17:59:46** INFO: ------------- Run sensors on module il-buyside-service

The problem turned out to the the .gitignore file containing an entry that resulted in the src directory not being included in scan. To solve the problem I set the parameter sonar.scm.exclusions.disabled=true.