chore: add SonarQube scan pipeline - #54
Merged
Merged
DK CICD / cli-plugin-submit-node-ci-v2-727re0je-scan
succeeded
May 26, 2026 in 21s
cli-plugin-submit-node-ci-v2-727re0je-scan
Progress summary:
| Step | Status |
|---|---|
| create-project-at-sonarcloud | 🟢 completed |
| scan | 🟢 completed |
⚠️ A completed status for an individual step simply indicates it completed. Errors might have happened: check the overall status of the Check Run and, if necessary, the logs below.
Details
Runner: node-ci-v2-727re0je-scan-pod
create-project-at-sonarcloud logs (access task pipeline | access task only)
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
v3.17.10-127-g3518e0bee31 [https://dl-cdn.alpinelinux.org/alpine/v3.17/main]
v3.17.10-127-g3518e0bee31 [https://dl-cdn.alpinelinux.org/alpine/v3.17/community]
OK: 17833 distinct packages available
(1/5) Installing ca-certificates (20240226-r0)
(2/5) Installing brotli-libs (1.0.9-r9)
(3/5) Installing nghttp2-libs (1.51.0-r2)
(4/5) Installing libcurl (8.9.0-r0)
(5/5) Installing curl (8.9.0-r0)
Executing busybox-1.35.0-r29.trigger
Executing ca-certificates-20240226-r0.trigger
OK: 301 MiB in 50 packages
Creating project at self-hosted SonarQube
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 54 0 0 100 54 0 53 0:00:01 0:00:01 --:--:-- 53
100 161 0 107 100 54 92 46 0:00:01 0:00:01 --:--:-- 139
Project created: {"project":{"key":"cli-plugin-submit","name":"cli-plugin-submit","qualifier":"TRK","visibility":"private"}}
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 136 0 0 100 136 0 5142 --:--:-- --:--:-- --:--:-- 5230
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 157 0 157 0 0 8361 0 --:--:-- --:--:-- --:--:-- 8722
Project bind success: {"key":"Sonar - Workflows","alm":"github","repository":"vtex/cli-plugin-submit","url":"https://api.github.com","summaryCommentEnabled":true,"monorepo":false}
scan logs (access task pipeline | access task only)
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=4ms
INFO: ------------- Gather SCA dependencies on project
INFO: Dependency analysis skipped
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 6 source files to be analyzed
WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'.
INFO: SCM Publisher 0/6 source files have been analyzed (done) | time=3ms
WARN: Missing blame information for the following files:
WARN: * src/lib/constants/Messages.ts
WARN: * src/modules/submit.ts
WARN: * jest.config.js
WARN: * src/clients/appStoreSeller.ts
WARN: * src/index.ts
WARN: * src/commands/submit.ts
WARN: This may lead to missing/broken features in SonarQube
INFO: CPD Executor 2 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 4 files
INFO: CPD Executor CPD calculation finished (done) | time=5ms
INFO: SCM revision ID '8f082a31db007bded65e7c12419bf9b7b6e29ccb'
INFO: SCM writing changed lines
WARN: Could not find ref 'main' in refs/heads, refs/remotes, refs/remotes/upstream or refs/remotes/origin
INFO: SCM writing changed lines (done) | time=2ms
INFO: Analysis report generated in 61ms, dir size=276.1 kB
INFO: Analysis report compressed in 11ms, zip size=39.6 kB
INFO: Analysis report uploaded in 55ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://sonarqube.vtex.systems/dashboard?id=cli-plugin-submit&pullRequest=54
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://sonarqube.vtex.systems/api/ce/task?id=b23699be-a073-4a1f-b16a-cc530022d066
INFO: Analysis total time: 9.949 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 11.389s
INFO: Final Memory: 16M/68M
INFO: ------------------------------------------------------------------------
Loading