You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sonar-findings-export --withURL -b '*'
2024-03-24 19:17:49,026 | sonar-tools | INFO | MainThread | Set debug level to INFO
2024-03-24 19:17:49,026 | sonar-tools | INFO | MainThread | sonar-tools version 2.9
2024-03-24 19:17:49,026 | sonar-tools | INFO | MainThread | Listing projects
2024-03-24 19:17:49,057 | sonar-tools | INFO | MainThread | Exporting findings for 4 projects with params {'url': 'http://localhost:9800', 'csvSeparator': ',', 'threads': 8, 'branches': '*', 'useFindings': False, 'withURL': True}
2024-03-24 19:17:49,057 | sonar-tools | INFO | MainThread | Dumping report to stdout
# key,rule,type,severity,status,creationDate,updateDate,projectKey,projectName,branch,pullRequest,file,line,effort,message
Traceback (most recent call last):
File "/Users/olivier.korach/venv/oko/bin/sonar-findings-export", line 8, in <module>
sys.exit(main())
File "/Users/olivier.korach/venv/oko/lib/python3.9/site-packages/tools/findings_export.py", line 341, in main
store_findings(
File "/Users/olivier.korach/venv/oko/lib/python3.9/site-packages/tools/findings_export.py", line 274, in store_findings
branches = __get_list(project, params.pop("branches", None), "branch")
File "/Users/olivier.korach/venv/oko/lib/python3.9/site-packages/tools/findings_export.py", line 195, in __get_list
list_array = [b.name for b in project.branches()] if list_type == "branch" else [p.key for p in project.pull_requests()]
File "/Users/olivier.korach/venv/oko/lib/python3.9/site-packages/tools/findings_export.py", line 195, in <listcomp>
list_array = [b.name for b in project.branches()] if list_type == "branch" else [p.key for p in project.pull_requests()]
AttributeError: 'str' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: