Below I am attaching my bitbucket pipeline YML file
image: node:18
clone:
depth: full # SonarQube scanner needs the full history to assign issues properly
pipelines:
default:
- step:
name: Build, run tests, analyze on SonarQube
caches:
- node
script:
- npm install
- npm i -D typescript
- pipe: sonarsource/sonarqube-scan:2.0.1
variables:
SONAR_HOST_URL: ${SONAR_HOST_URL}
SONAR_TOKEN: ${SONAR_TOKEN}
- step:
name: Check Quality Gate on SonarQube
script:
- pipe: sonarsource/sonarqube-quality-gate:1.1.0
variables:
SONAR_TOKEN: ${SONAR_TOKEN}
Below is the sonar-project.properties file
sonar.projectKey=my-project
# This is the name and version displayed in the SonarQube UI.
# Was mandatory prior to SonarQube 6.1.
sonar.projectName=my-project
sonar.exclusions=**/*.java
sonar.inclusions=app/**/*
sonar.sources=.
Some logs from pipeline in verbose mode
08:16:11.700 DEBUG: Declared extensions of language JSON were converted to sonar.lang.patterns.json : **/*.json
08:16:11.708 DEBUG: Will ignore generated code
08:16:11.709 DEBUG: Will ignore generated code
08:16:11.711 INFO: Indexing files...
08:16:11.713 INFO: Project configuration:
08:16:11.713 INFO: Included sources: app/**/*
08:16:11.713 INFO: Excluded sources: **/*.java
08:16:11.729 DEBUG: loading config FileBasedConfig[/tmp/jgit/config]
08:16:11.729 DEBUG: readpipe [/usr/bin/git, --version],/usr/bin
08:16:11.740 DEBUG: readpipe may return 'git version 2.38.5'
08:16:11.741 DEBUG: remaining output:
08:16:11.741 DEBUG: readpipe [/usr/bin/git, config, --system, --show-origin, --list, -z],/usr/bin
08:16:11.742 DEBUG: readpipe may return 'null'
08:16:11.743 DEBUG: remaining output:
08:16:11.761 DEBUG: readpipe rc=128
08:16:11.761 DEBUG: Exception caught during execution of command '[/usr/bin/git, config, --system, --show-origin, --list, -z]' in '/usr/bin', return code '128', error message 'fatal: unable to read config file '/etc/gitconfig': No such file or directory
'
08:16:11.762 DEBUG: loading config FileBasedConfig[/root/.gitconfig]
08:16:11.866 DEBUG: 178 non excluded files in this Git repository
08:16:12.468 DEBUG: 'app/translations/i18.ts' generated metadata with charset 'UTF-8'
08:16:12.475 DEBUG: 'app/translations/i18.ts' indexed with language 'ts'
08:16:12.479 DEBUG: 'app/translations/en.json' indexed with language 'json'
08:16:12.480 DEBUG: 'app/translations/index.ts' generated metadata with charset 'UTF-8'
08:16:12.480 DEBUG: 'app/translations/index.ts' indexed with language 'ts'
08:16:12.482 DEBUG: 'app/constants/VariantConst.ts' generated metadata with charset 'UTF-8'
08:16:12.482 DEBUG: 'app/constants/VariantConst.ts' indexed with language 'ts'
08:16:12.484 DEBUG: 'app/constants/NavigationRoutes.ts' generated metadata with charset 'UTF-8'
08:16:12.485 DEBUG: 'app/constants/NavigationRoutes.ts' indexed with language 'ts'
08:16:12.486 DEBUG: 'app/constants/DeepLinkConst.ts' generated metadata with charset 'UTF-8'
08:16:12.487 DEBUG: 'app/constants/DeepLinkConst.ts' indexed with language 'ts'
08:16:12.488 DEBUG: 'app/constants/index.ts' generated metadata with charset 'UTF-8'
08:16:12.489 DEBUG: 'app/constants/index.ts' indexed with language 'ts'
08:16:12.490 DEBUG: 'app/constants/ToolkitAction.ts' generated metadata with charset 'UTF-8'
08:16:12.490 DEBUG: 'app/constants/ToolkitAction.ts' indexed with language 'ts'
08:16:12.493 DEBUG: 'app/constants/Strings.ts' generated metadata with charset 'UTF-8'
08:16:12.494 DEBUG: 'app/constants/Strings.ts' indexed with language 'ts'
08:16:12.495 DEBUG: 'app/constants/MMKVKeys.ts' generated metadata with charset 'UTF-8'
08:16:12.496 DEBUG: 'app/constants/MMKVKeys.ts' indexed with language 'ts'
08:16:12.497 DEBUG: 'app/constants/AppConst.ts' generated metadata with charset 'UTF-8'
08:16:12.497 DEBUG: 'app/constants/AppConst.ts' indexed with language 'ts'
08:16:12.498 DEBUG: 'app/constants/APIConst.ts' generated metadata with charset 'UTF-8'
08:16:12.499 DEBUG: 'app/constants/APIConst.ts' indexed with language 'ts'
08:16:12.500 DEBUG: 'app/modules/home/HomeScreen.tsx' generated metadata with charset 'UTF-8'
08:16:12.501 DEBUG: 'app/modules/home/HomeScreen.tsx' indexed with language 'ts'
08:16:12.502 DEBUG: 'app/modules/home/index.ts' generated metadata with charset 'UTF-8'
08:16:12.502 DEBUG: 'app/modules/home/index.ts' indexed with language 'ts'
08:16:12.503 DEBUG: 'app/modules/home/HomeStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.504 DEBUG: 'app/modules/home/HomeStyles.ts' indexed with language 'ts'
08:16:12.505 DEBUG: 'app/modules/details/DetailsScreen.tsx' generated metadata with charset 'UTF-8'
08:16:12.505 DEBUG: 'app/modules/details/DetailsScreen.tsx' indexed with language 'ts'
08:16:12.506 DEBUG: 'app/modules/details/index.ts' generated metadata with charset 'UTF-8'
08:16:12.506 DEBUG: 'app/modules/details/index.ts' indexed with language 'ts'
08:16:12.507 DEBUG: 'app/modules/details/DetailsStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.508 DEBUG: 'app/modules/details/DetailsStyles.ts' indexed with language 'ts'
08:16:12.508 DEBUG: 'app/modules/index.ts' generated metadata with charset 'UTF-8'
08:16:12.509 DEBUG: 'app/modules/index.ts' indexed with language 'ts'
08:16:12.510 DEBUG: 'app/modules/auth/signin/useSignin.ts' generated metadata with charset 'UTF-8'
08:16:12.511 DEBUG: 'app/modules/auth/signin/useSignin.ts' indexed with language 'ts'
08:16:12.512 DEBUG: 'app/modules/auth/signin/index.ts' generated metadata with charset 'UTF-8'
08:16:12.512 DEBUG: 'app/modules/auth/signin/index.ts' indexed with language 'ts'
08:16:12.514 DEBUG: 'app/modules/auth/signin/SigninStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.514 DEBUG: 'app/modules/auth/signin/SigninStyles.ts' indexed with language 'ts'
08:16:12.515 DEBUG: 'app/modules/auth/signin/signin-form/index.ts' generated metadata with charset 'UTF-8'
08:16:12.515 DEBUG: 'app/modules/auth/signin/signin-form/index.ts' indexed with language 'ts'
08:16:12.517 DEBUG: 'app/modules/auth/signin/signin-form/SigninFormStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.519 DEBUG: 'app/modules/auth/signin/signin-form/SigninFormStyles.ts' indexed with language 'ts'
08:16:12.520 DEBUG: 'app/modules/auth/signin/signin-form/SigninFormUtils.ts' generated metadata with charset 'UTF-8'
08:16:12.520 DEBUG: 'app/modules/auth/signin/signin-form/SigninFormUtils.ts' indexed with language 'ts'
08:16:12.522 DEBUG: 'app/modules/auth/signin/signin-form/SigninForm.tsx' generated metadata with charset 'UTF-8'
08:16:12.523 DEBUG: 'app/modules/auth/signin/signin-form/SigninForm.tsx' indexed with language 'ts'
08:16:12.524 DEBUG: 'app/modules/auth/signin/signin-form/SigninFormTypes.ts' generated metadata with charset 'UTF-8'
08:16:12.524 DEBUG: 'app/modules/auth/signin/signin-form/SigninFormTypes.ts' indexed with language 'ts'
08:16:12.525 DEBUG: 'app/modules/auth/signin/SigninScreen.tsx' generated metadata with charset 'UTF-8'
08:16:12.526 DEBUG: 'app/modules/auth/signin/SigninScreen.tsx' indexed with language 'ts'
08:16:12.527 DEBUG: 'app/modules/auth/signin/SigninTypes.ts' generated metadata with charset 'UTF-8'
08:16:12.527 DEBUG: 'app/modules/auth/signin/SigninTypes.ts' indexed with language 'ts'
08:16:12.528 DEBUG: 'app/modules/auth/index.ts' generated metadata with charset 'UTF-8'
08:16:12.528 DEBUG: 'app/modules/auth/index.ts' indexed with language 'ts'
08:16:12.529 DEBUG: 'app/theme/Colors.ts' generated metadata with charset 'UTF-8'
08:16:12.530 DEBUG: 'app/theme/Colors.ts' indexed with language 'ts'
08:16:12.531 DEBUG: 'app/theme/index.ts' generated metadata with charset 'UTF-8'
08:16:12.532 DEBUG: 'app/theme/index.ts' indexed with language 'ts'
08:16:12.533 DEBUG: 'app/theme/Metrics.tsx' generated metadata with charset 'UTF-8'
08:16:12.533 DEBUG: 'app/theme/Metrics.tsx' indexed with language 'ts'
08:16:12.535 DEBUG: 'app/theme/ApplicationStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.535 DEBUG: 'app/theme/ApplicationStyles.ts' indexed with language 'ts'
08:16:12.536 DEBUG: 'app/configs/index.ts' generated metadata with charset 'UTF-8'
08:16:12.537 DEBUG: 'app/configs/index.ts' indexed with language 'ts'
08:16:12.538 DEBUG: 'app/configs/SentryConfig.ts' generated metadata with charset 'UTF-8'
08:16:12.539 DEBUG: 'app/configs/SentryConfig.ts' indexed with language 'ts'
08:16:12.543 DEBUG: 'app/configs/APIConfig.ts' generated metadata with charset 'UTF-8'
08:16:12.543 DEBUG: 'app/configs/APIConfig.ts' indexed with language 'ts'
08:16:12.545 DEBUG: 'app/navigation/AppNavigation.tsx' generated metadata with charset 'UTF-8'
08:16:12.546 DEBUG: 'app/navigation/AppNavigation.tsx' indexed with language 'ts'
08:16:12.546 DEBUG: 'app/navigation/index.ts' generated metadata with charset 'UTF-8'
08:16:12.547 DEBUG: 'app/navigation/index.ts' indexed with language 'ts'
08:16:12.548 DEBUG: 'app/services/Storage.ts' generated metadata with charset 'UTF-8'
08:16:12.549 DEBUG: 'app/services/Storage.ts' indexed with language 'ts'
08:16:12.550 DEBUG: 'app/services/index.ts' generated metadata with charset 'UTF-8'
08:16:12.550 DEBUG: 'app/services/index.ts' indexed with language 'ts'
08:16:12.551 DEBUG: 'app/App.tsx' generated metadata with charset 'UTF-8'
08:16:12.551 DEBUG: 'app/App.tsx' indexed with language 'ts'
08:16:12.552 DEBUG: 'app/redux/index.ts' generated metadata with charset 'UTF-8'
08:16:12.552 DEBUG: 'app/redux/index.ts' indexed with language 'ts'
08:16:12.553 DEBUG: 'app/redux/useRedux.ts' generated metadata with charset 'UTF-8'
08:16:12.553 DEBUG: 'app/redux/useRedux.ts' indexed with language 'ts'
08:16:12.554 DEBUG: 'app/redux/auth/AuthSelector.ts' generated metadata with charset 'UTF-8'
08:16:12.555 DEBUG: 'app/redux/auth/AuthSelector.ts' indexed with language 'ts'
08:16:12.556 DEBUG: 'app/redux/auth/index.ts' generated metadata with charset 'UTF-8'
08:16:12.556 DEBUG: 'app/redux/auth/index.ts' indexed with language 'ts'
08:16:12.557 DEBUG: 'app/redux/auth/AuthInitial.ts' generated metadata with charset 'UTF-8'
08:16:12.558 DEBUG: 'app/redux/auth/AuthInitial.ts' indexed with language 'ts'
08:16:12.559 DEBUG: 'app/redux/auth/AuthSlice.ts' generated metadata with charset 'UTF-8'
08:16:12.560 DEBUG: 'app/redux/auth/AuthSlice.ts' indexed with language 'ts'
08:16:12.562 DEBUG: 'app/redux/Store.ts' generated metadata with charset 'UTF-8'
08:16:12.562 DEBUG: 'app/redux/Store.ts' indexed with language 'ts'
08:16:12.563 DEBUG: 'app/assets/index.ts' generated metadata with charset 'UTF-8'
08:16:12.564 DEBUG: 'app/assets/index.ts' indexed with language 'ts'
08:16:12.565 DEBUG: 'app/assets/icons/index.ts' generated metadata with charset 'UTF-8'
08:16:12.565 DEBUG: 'app/assets/icons/index.ts' indexed with language 'ts'
08:16:12.565 DEBUG: 'app/assets/icons/backArrow.png' indexed with no language
08:16:12.566 DEBUG: 'app/assets/icons/backArrow@2x.png' indexed with no language
08:16:12.566 DEBUG: 'app/assets/icons/backArrow@3x.png' indexed with no language
08:16:12.567 DEBUG: 'app/assets/images/index.ts' generated metadata with charset 'UTF-8'
08:16:12.567 DEBUG: 'app/assets/images/index.ts' indexed with language 'ts'
08:16:12.568 DEBUG: 'app/assets/images/profile@2x.png' indexed with no language
08:16:12.568 DEBUG: 'app/assets/images/profile@3x.png' indexed with no language
08:16:12.569 DEBUG: 'app/assets/images/profile.png' indexed with no language
08:16:12.570 DEBUG: 'app/assets/fonts/index.ts' generated metadata with charset 'UTF-8'
08:16:12.570 DEBUG: 'app/assets/fonts/index.ts' indexed with language 'ts'
08:16:12.571 DEBUG: 'app/components/index.ts' generated metadata with charset 'UTF-8'
08:16:12.571 DEBUG: 'app/components/index.ts' indexed with language 'ts'
08:16:12.572 DEBUG: 'app/components/custom-button/index.ts' generated metadata with charset 'UTF-8'
08:16:12.572 DEBUG: 'app/components/custom-button/index.ts' indexed with language 'ts'
08:16:12.574 DEBUG: 'app/components/custom-button/CustomButtonStyle.ts' generated metadata with charset 'UTF-8'
08:16:12.574 DEBUG: 'app/components/custom-button/CustomButtonStyle.ts' indexed with language 'ts'
08:16:12.576 DEBUG: 'app/components/custom-button/useCustomButton.tsx' generated metadata with charset 'UTF-8'
08:16:12.576 DEBUG: 'app/components/custom-button/useCustomButton.tsx' indexed with language 'ts'
08:16:12.577 DEBUG: 'app/components/custom-button/CustomButtonTypes.ts' generated metadata with charset 'UTF-8'
08:16:12.578 DEBUG: 'app/components/custom-button/CustomButtonTypes.ts' indexed with language 'ts'
08:16:12.587 DEBUG: 'app/components/custom-button/CustomButton.tsx' generated metadata with charset 'UTF-8'
08:16:12.587 DEBUG: 'app/components/custom-button/CustomButton.tsx' indexed with language 'ts'
08:16:12.588 DEBUG: 'app/components/full-screen-loader/index.ts' generated metadata with charset 'UTF-8'
08:16:12.588 DEBUG: 'app/components/full-screen-loader/index.ts' indexed with language 'ts'
08:16:12.588 DEBUG: 'app/components/full-screen-loader/FullScreenLoader.tsx' generated metadata with charset 'UTF-8'
08:16:12.589 DEBUG: 'app/components/full-screen-loader/FullScreenLoader.tsx' indexed with language 'ts'
08:16:12.589 DEBUG: 'app/components/full-screen-loader/FullScreenLoaderStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.590 DEBUG: 'app/components/full-screen-loader/FullScreenLoaderStyles.ts' indexed with language 'ts'
08:16:12.590 DEBUG: 'app/components/custom-text/CustomText.tsx' generated metadata with charset 'UTF-8'
08:16:12.591 DEBUG: 'app/components/custom-text/CustomText.tsx' indexed with language 'ts'
08:16:12.591 DEBUG: 'app/components/custom-text/index.ts' generated metadata with charset 'UTF-8'
08:16:12.592 DEBUG: 'app/components/custom-text/index.ts' indexed with language 'ts'
08:16:12.593 DEBUG: 'app/components/custom-text/CustomTextStyle.ts' generated metadata with charset 'UTF-8'
08:16:12.593 DEBUG: 'app/components/custom-text/CustomTextStyle.ts' indexed with language 'ts'
08:16:12.594 DEBUG: 'app/components/custom-text/CustomTextTypes.ts' generated metadata with charset 'UTF-8'
08:16:12.594 DEBUG: 'app/components/custom-text/CustomTextTypes.ts' indexed with language 'ts'
08:16:12.595 DEBUG: 'app/components/custom-header/index.ts' generated metadata with charset 'UTF-8'
08:16:12.595 DEBUG: 'app/components/custom-header/index.ts' indexed with language 'ts'
08:16:12.595 DEBUG: 'app/components/custom-header/CustomHeaderStyles.ts' generated metadata with charset 'UTF-8'
08:16:12.596 DEBUG: 'app/components/custom-header/CustomHeaderStyles.ts' indexed with language 'ts'
08:16:12.597 DEBUG: 'app/components/custom-header/CustomHeader.tsx' generated metadata with charset 'UTF-8'
08:16:12.597 DEBUG: 'app/components/custom-header/CustomHeader.tsx' indexed with language 'ts'
08:16:12.598 DEBUG: 'app/components/custom-header/CustomHeaderTypes.ts' generated metadata with charset 'UTF-8'
08:16:12.598 DEBUG: 'app/components/custom-header/CustomHeaderTypes.ts' indexed with language 'ts'
08:16:12.598 DEBUG: 'app/utils/index.ts' generated metadata with charset 'UTF-8'
08:16:12.599 DEBUG: 'app/utils/index.ts' indexed with language 'ts'
08:16:12.599 DEBUG: 'app/utils/ValidationSchema.ts' generated metadata with charset 'UTF-8'
08:16:12.600 DEBUG: 'app/utils/ValidationSchema.ts' indexed with language 'ts'
08:16:12.600 DEBUG: 'app/utils/DeepLinkUtils.ts' generated metadata with charset 'UTF-8'
08:16:12.601 DEBUG: 'app/utils/DeepLinkUtils.ts' indexed with language 'ts'
08:16:12.602 DEBUG: 'app/utils/NavigatorUtils.ts' generated metadata with charset 'UTF-8'
08:16:12.602 DEBUG: 'app/utils/NavigatorUtils.ts' indexed with language 'ts'
08:16:12.603 DEBUG: 'app/utils/CommonUtils.ts' generated metadata with charset 'UTF-8'
08:16:12.604 DEBUG: 'app/utils/CommonUtils.ts' indexed with language 'ts'
08:16:12.606 DEBUG: 'app/hooks/usePermission.ts' generated metadata with charset 'UTF-8'
08:16:12.606 DEBUG: 'app/hooks/usePermission.ts' indexed with language 'ts'
08:16:12.607 DEBUG: 'app/hooks/useHeader.ts' generated metadata with charset 'UTF-8'
08:16:12.607 DEBUG: 'app/hooks/useHeader.ts' indexed with language 'ts'
08:16:12.608 DEBUG: 'app/hooks/index.ts' generated metadata with charset 'UTF-8'
08:16:12.608 DEBUG: 'app/hooks/index.ts' indexed with language 'ts'
08:16:12.609 DEBUG: 'app/hooks/hooks-utils/index.ts' generated metadata with charset 'UTF-8'
08:16:12.609 DEBUG: 'app/hooks/hooks-utils/index.ts' indexed with language 'ts'
08:16:12.610 DEBUG: 'app/hooks/hooks-utils/useDeepCompareMemoize.ts' generated metadata with charset 'UTF-8'
08:16:12.610 DEBUG: 'app/hooks/hooks-utils/useDeepCompareMemoize.ts' indexed with language 'ts'
08:16:12.611 DEBUG: 'app/hooks/useTheme.ts' generated metadata with charset 'UTF-8'
08:16:12.611 DEBUG: 'app/hooks/useTheme.ts' indexed with language 'ts'
08:16:12.612 DEBUG: 'app/hooks/useDeepCompareEffect.ts' generated metadata with charset 'UTF-8'
08:16:12.612 DEBUG: 'app/hooks/useDeepCompareEffect.ts' indexed with language 'ts'
08:16:12.612 DEBUG: 'app/hooks/useDeepCompareCallback.ts' generated metadata with charset 'UTF-8'
08:16:12.613 DEBUG: 'app/hooks/useDeepCompareCallback.ts' indexed with language 'ts'
08:16:12.613 DEBUG: 'app/models/index.ts' generated metadata with charset 'UTF-8'
08:16:12.614 DEBUG: 'app/models/index.ts' indexed with language 'ts'
08:16:12.614 DEBUG: 'app/models/ErrorResponse.ts' generated metadata with charset 'UTF-8'
08:16:12.614 DEBUG: 'app/models/ErrorResponse.ts' indexed with language 'ts'
08:16:12.615 DEBUG: 'app/models/UserResponse.ts' generated metadata with charset 'UTF-8'
08:16:12.616 DEBUG: 'app/models/UserResponse.ts' indexed with language 'ts'
08:16:12.620 INFO: 92 files indexed
08:16:12.620 INFO: 33892 files ignored because of inclusion/exclusion patterns
08:16:12.620 INFO: 0 files ignored because of scm ignore settings
08:16:12.622 INFO: Quality profile for json: Sonar way
08:16:12.622 INFO: Quality profile for ts: Sonar way
08:16:12.622 INFO: ------------- Run sensors on module my-repo-android
08:16:12.744 INFO: Load metrics repository
08:16:13.000 DEBUG: GET 200 $SONAR_HOST_URLapi/metrics/search?ps=500&p=1 | time=254ms
08:16:13.008 INFO: Load metrics repository (done) | time=264ms
08:16:14.389 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
08:16:14.389 DEBUG: 'JavaScript inside YAML analysis' skipped because there is no related file in current project
08:16:14.389 DEBUG: 'JavaScript/TypeScript Coverage' skipped because one of the required properties is missing
08:16:14.390 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
08:16:14.390 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
08:16:14.390 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
08:16:14.390 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current
08:16:14.398 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
08:16:14.398 DEBUG: Sensors : HTL -> JaCoCo XML Report Importer -> IaC CloudFormation Sensor -> IaC Kubernetes Sensor -> TypeScript analysis -> CSS Rules -> C# Project Type Information -> C# Analysis Log -> C# Properties -> HTML -> TextAndSecretsSensor -> VB.NET Project Type Information -> VB.NET Analysis Log -> VB.NET Properties -> IaC Docker Sensor
08:16:14.399 INFO: Sensor HTL [aemrules]
08:16:14.402 INFO: 0 source files to be analyzed
08:16:14.403 INFO: Sensor HTL [aemrules] (done) | time=4ms
08:16:14.403 INFO: 0/0 source files have been analyzed
08:16:14.403 INFO: Sensor JaCoCo XML Report Importer [jacoco]
08:16:14.404 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
08:16:14.404 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
08:16:14.405 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
08:16:14.405 INFO: Sensor IaC CloudFormation Sensor [iac]
08:16:14.407 DEBUG: 'app/translations/en.json' generated metadata with charset 'UTF-8'
08:16:14.411 INFO: 0 source files to be analyzed
08:16:14.422 INFO: 0/0 source files have been analyzed
08:16:14.422 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=17ms
08:16:14.422 INFO: Sensor IaC Kubernetes Sensor [iac]
08:16:14.425 INFO: 0 source files to be analyzed
08:16:14.502 INFO: 0/0 source files have been analyzed
08:16:14.502 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=80ms
08:16:14.502 INFO: Sensor TypeScript analysis [javascript]
08:16:14.506 DEBUG: Deploying bundle
08:16:14.506 DEBUG: Deploying eslint-bridge into /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle
08:16:15.979 DEBUG: Deploying bundle (done) | time=1473ms
08:16:15.981 DEBUG: Starting server
08:16:15.983 DEBUG: Using default Node.js executable: 'node'.
08:16:15.983 DEBUG: Checking Node.js version
08:16:15.983 DEBUG: Launching command node -v
08:16:16.057 DEBUG: Using Node.js v18.17.0.
08:16:16.057 DEBUG: Starting Node.js process to start eslint-bridge server at port 36081
08:16:16.057 DEBUG: Launching command node /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/bin/server 36081 127.0.0.1 /opt/atlassian/pipelines/agent/build/.scannerwork true false
08:16:18.532 DEBUG: starting eslint-bridge server at port 36081
08:16:18.540 DEBUG: eslint-bridge server is running at port 36081
08:16:18.599 DEBUG: Starting server (done) | time=2619ms
08:16:18.602 DEBUG: Analysis of unchanged files will not be skipped (current analysis requires all files to be analyzed)
08:16:18.623 DEBUG: Initializing linter "default" with no-commented-code,sonar-no-fallthrough,no-inverted-boolean-check,duplicates-in-character-class,file-uploads,sonar-no-misleading-character-class,dns-prefetching,no-same-argument-assert,arguments-order,certificate-transparency,single-char-in-character-classes,aws-ec2-unencrypted-ebs-volume,no-unsafe-finally,prefer-while,unused-named-groups,single-character-alternation,aws-iam-public-access,no-ip-forward,no-use-of-empty-return-value,session-regeneration,no-associative-arrays,no-weak-keys,confidential-information-logging,weak-ssl,no-useless-increment,no-throw-literal,pseudo-random,no-redundant-optional,cookie-no-httponly,aws-s3-bucket-public-access,post-message,constructor-for-side-effects,no-globals-shadowing,unverified-hostname,hashing,for-loop-increment-sign,no-vue-bypass-sanitization,no-nested-conditional,no-unnecessary-type-assertion,insecure-jwt-token,no-dead-store,prefer-type-guard,use-type-alias,no-in-misuse,no-parameter-reassignment,no-unstable-nested-components,jsx-key,updated-loop-counter,no-array-index-key,link-with-target-blank,concise-regex,stateful-regex,test-check-exception,max-switch-cases,production-debug,csrf,no-undefined-argument,cognitive-complexity,no-labels,use-isnan,inverted-assertion-arguments,no-nested-template-literals,aws-s3-bucket-insecure-http,no-duplicate-in-composite,generator-without-yield,no-ignored-return,no-caller,aws-s3-bucket-server-encryption,no-uniq-key,call-argument-line,no-unenclosed-multiline-block,jsx-no-constructed-context-values,no-redundant-boolean,content-security-policy,prefer-promise-shorthand,regex-complexity,no-empty-after-reluctant,disabled-resource-integrity,assertions-in-tests,no-intrusive-permissions,unused-import,empty-string-repetition,no-nested-assignment,index-of-compare-to-positive-number,aws-s3-bucket-versioning,no-unsafe-unzip,todo-tag,strict-transport-security,prefer-default-last,no-mime-sniff,no-gratuitous-expressions,no-empty-pattern,no-referrer-policy,sonar-no-invalid-regexp,no-mixed-content,anchor-precedence,no-angular-bypass-sanitization,frame-ancestors,slow-regex,aws-s3-bucket-granted-access,fixme-tag,non-existent-operator,new-operator-misuse,no-small-switch,aws-iam-privilege-escalation,jsx-no-comment-textnodes,prefer-for-of,aws-sagemaker-unencrypted-notebook,sonar-jsx-no-leaked-render,default-param-last,xml-parser-xxe,sql-queries,no-global-this,no-array-delete,no-alphabetical-sort,require-render-return,no-sequences,no-octal,void-use,no-hardcoded-ip,comma-or-logical-or-case,existing-groups,label-position,aws-sns-unencrypted-topics,super-invocation,aws-ec2-rds-dms-public,no-try-promise,sonar-no-control-regex,no-empty-alternatives,sonar-no-regex-spaces,no-same-line-conditional,prefer-regex-literals,sonar-no-unused-class-component-methods,rules-of-hooks,no-useless-react-setstate,no-identical-functions,no-hook-setter-in-body,aws-restricted-ip-admin-access,no-element-overwrite,no-equals-in-for-termination,no-sparse-arrays,no-var,no-redundant-jump,no-duplicate-imports,no-unthrown-error,no-os-command-from-path,prefer-namespace-keyword,no-collection-size-mischeck,unverified-certificate,no-empty-collection,disabled-auto-escaping,no-empty-group,aws-sqs-unencrypted-queue,aws-apigateway-public-api,aws-efs-unencrypted,no-accessor-field-mismatch,cors,insecure-cookie,no-unused-collection,no-invariant-returns,no-case-label-in-switch,os-command,no-misleading-array-reverse,no-redundant-assignments,no-all-duplicated-branches,no-identical-conditions,no-weak-cipher,no-delete-var,encryption-secure-mode,no-useless-intersection,sonar-block-scoped-var,no-code-after-done,no-empty-function,no-unsafe-negation,deprecation,misplaced-loop-counter,no-one-iteration-loop,no-multi-str,function-inside-loop,no-duplicated-branches,disabled-timeout,bitwise-operators,class-name,code-eval,no-identical-expressions,no-unreachable,no-useless-catch,x-powered-by,file-permissions,publicly-writable-directories,no-incomplete-assertions,chai-determinate-assertion,sonar-no-dupe-keys,no-primitive-wrappers,no-exclusive-tests,aws-opensearchservice-domain,no-self-assign,aws-iam-all-privileges,no-misused-new,no-invalid-await,no-hardcoded-credentials,aws-rds-unencrypted-databases,content-length,no-clear-text-protocols,no-empty,sonar-max-params,hidden-files,no-unused-expressions
08:16:18.633 DEBUG: Analysis of unchanged files will not be skipped (current analysis requires all files to be analyzed)
08:16:18.643 INFO: Found 1 https://bitbucket.org/my-org-team/my-repo/src/commit-id/tsconfig.json file(s): [/opt/atlassian/pipelines/agent/build/tsconfig.json]
08:16:18.644 INFO: Creating TypeScript program
08:16:18.644 INFO: TypeScript configuration file /opt/atlassian/pipelines/agent/build/tsconfig.json
08:16:18.646 INFO: 85 source files to be analyzed
08:16:18.682 ERROR: Error: Unknown compiler option 'ignoreDeprecations'.
08:16:18.682 ERROR: at createProgramOptions (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/lib/services/program/program.js:106:15)
08:16:18.682 ERROR: at createProgram (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/lib/services/program/program.js:132:28)
08:16:18.682 ERROR: at default_1 (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/lib/routing/on-create-program.js:10:57)
08:16:18.682 ERROR: at Layer.handle [as handle_request] (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/layer.js:95:5)
08:16:18.682 ERROR: at next (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/route.js:144:13)
08:16:18.682 ERROR: at Route.dispatch (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/route.js:114:3)
08:16:18.682 ERROR: at Layer.handle [as handle_request] (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/layer.js:95:5)
08:16:18.683 ERROR: at /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/index.js:284:15
08:16:18.683 ERROR: at Function.process_params (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/index.js:346:12)
08:16:18.683 ERROR: at next (/opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/express/lib/router/index.js:280:10)
08:16:18.685 ERROR: Failed to create program: Unknown compiler option 'ignoreDeprecations'.
08:16:18.685 INFO: Creating TypeScript program (done) | time=41ms
08:16:18.686 INFO: Skipped 85 file(s) because they were not part of any https://bitbucket.org/my-org-team/my-repo/src/commit-id/tsconfig.json (enable debug logs to see the full list)
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/models/UserResponse.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/APIConst.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/signin-form/SigninFormStyles.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/utils/DeepLinkUtils.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/useTheme.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/MMKVKeys.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/home/HomeStyles.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/details/index.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/details/DetailsStyles.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/full-screen-loader/FullScreenLoader.tsx
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/utils/ValidationSchema.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/ToolkitAction.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-text/CustomTextTypes.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/index.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/index.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-text/index.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/models/ErrorResponse.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/translations/index.ts
08:16:18.686 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/App.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/DeepLinkConst.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/models/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-header/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-text/CustomTextStyle.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/configs/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/SigninScreen.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/theme/ApplicationStyles.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/assets/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-text/CustomText.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/AppConst.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/theme/Metrics.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/signin-form/SigninForm.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/auth/AuthSlice.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/utils/NavigatorUtils.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/utils/CommonUtils.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/useSignin.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/useHeader.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/auth/AuthInitial.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/assets/images/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-header/CustomHeader.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-button/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/useDeepCompareEffect.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/SigninStyles.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/VariantConst.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-header/CustomHeaderTypes.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/full-screen-loader/FullScreenLoaderStyles.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/navigation/AppNavigation.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/assets/fonts/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/theme/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/services/Storage.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/full-screen-loader/index.ts
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-button/CustomButton.tsx
08:16:18.687 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/Strings.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/configs/SentryConfig.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/navigation/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/auth/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/configs/APIConfig.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/translations/i18.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/utils/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-button/useCustomButton.tsx
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/home/HomeScreen.tsx
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/auth/AuthSelector.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/usePermission.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/constants/NavigationRoutes.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/signin-form/SigninFormUtils.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-button/CustomButtonTypes.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/useDeepCompareCallback.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/signin-form/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/services/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-button/CustomButtonStyle.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/signin-form/SigninFormTypes.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/components/custom-header/CustomHeaderStyles.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/hooks-utils/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/home/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/Store.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/theme/Colors.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/hooks/hooks-utils/useDeepCompareMemoize.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/assets/icons/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/details/DetailsScreen.tsx
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/signin/SigninTypes.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/modules/auth/index.ts
08:16:18.688 DEBUG: File not part of any tsconfig.json: https://bitbucket.org/my-org-team/my-repo/src/commit-id/app/redux/useRedux.ts
08:16:18.694 INFO: 85/85 source files have been analyzed
08:16:18.695 INFO: Hit the cache for 0 out of 0
08:16:18.696 INFO: Miss the cache for 0 out of 0
08:16:18.696 INFO: Sensor TypeScript analysis [javascript] (done) | time=4194ms
08:16:18.696 INFO: Sensor CSS Rules [javascript]
08:16:18.696 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
08:16:18.696 INFO: Sensor CSS Rules [javascript] (done) | time=0ms
08:16:18.696 INFO: Sensor C# Project Type Information [csharp]
08:16:18.697 INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
08:16:18.697 INFO: Sensor C# Analysis Log [csharp]
08:16:18.710 DEBUG: Project 'my-repo-android': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
08:16:18.711 INFO: Sensor C# Analysis Log [csharp] (done) | time=14ms
08:16:18.711 INFO: Sensor C# Properties [csharp]
08:16:18.711 DEBUG: Project 'my-repo-android': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
08:16:18.711 DEBUG: Project 'my-repo-android': No Roslyn issues reports have been found.
08:16:18.913 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
08:16:18.913 DEBUG: Sensors : Dependency-Check -> Analysis Warnings import -> Zero Coverage Sensor
08:16:18.913 INFO: Sensor Dependency-Check [dependencycheck]
08:16:18.913 INFO: Process Dependency-Check report
08:16:18.914 INFO: Using JSON-Reportparser
08:16:18.916 INFO: Dependency-Check JSON report does not exists. Please check property sonar.dependencyCheck.jsonReportPath:/opt/atlassian/pipelines/agent/build/${WORKSPACE}/dependency-check-report.json
08:16:18.916 INFO: JSON-Analysis skipped/aborted due to missing report file
08:16:18.917 DEBUG: JSON-Dependency-Check report does not exist.
java.io.FileNotFoundException: JSON-Dependency-Check report does not exist.
at org.sonar.dependencycheck.report.JsonReportFile.getJsonReport(JsonReportFile.java:37)
at org.sonar.dependencycheck.DependencyCheckSensor.parseAnalysis(DependencyCheckSensor.java:67)
at org.sonar.dependencycheck.DependencyCheckSensor.execute(DependencyCheckSensor.java:131)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
at org.sonar.scanner.sensor.ProjectSensorsExecutor.execute(ProjectSensorsExecutor.java:52)
at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:371)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
at org.sonarsource.scanner.cli.Main.main(Main.java:62)
08:16:18.918 INFO: Dependency-Check HTML report does not exists. Please check property sonar.dependencyCheck.htmlReportPath:/opt/atlassian/pipelines/agent/build/${WORKSPACE}/dependency-check-report.html
08:16:18.918 INFO: HTML-Dependency-Check report does not exist.
08:16:18.918 DEBUG: HTML-Dependency-Check report does not exist.
java.io.FileNotFoundException: HTML-Dependency-Check report does not exist.
at org.sonar.dependencycheck.report.HtmlReportFile.getHtmlReport(HtmlReportFile.java:37)
at org.sonar.dependencycheck.DependencyCheckSensor.uploadHTMLReport(DependencyCheckSensor.java:83)
at org.sonar.dependencycheck.DependencyCheckSensor.execute(DependencyCheckSensor.java:139)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
at org.sonar.scanner.sensor.ProjectSensorsExecutor.execute(ProjectSensorsExecutor.java:52)
at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:371)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
at org.sonarsource.scanner.cli.Main.main(Main.java:62)
08:16:18.918 INFO: Process Dependency-Check report (done) | time=5ms
08:16:18.918 INFO: Sensor Dependency-Check [dependencycheck] (done) | time=5ms
08:16:18.918 INFO: Sensor Analysis Warnings import [csharp]
08:16:18.919 INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms
08:16:18.919 INFO: Sensor Zero Coverage Sensor
08:16:18.922 INFO: Sensor Zero Coverage Sensor (done) | time=3ms
08:16:18.937 INFO: CPD Executor Calculating CPD for 0 files
08:16:18.937 INFO: CPD Executor CPD calculation finished (done) | time=0ms
08:16:18.942 DEBUG: SCM revision ID 'commit-id'
Logs says that files not part of tsconfig.json are skipped but I have already added “app/**/*” in “include” block in tsconfig.json and sonar.sources is set to “.” which means it will start scan from root directory
My screenshots of sonarqube server on version 9.9 (build 65466)
One of the directories from the above^^ screenshot. All are suffering from same issue