зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1543024 - [Coverity] Add more information to the exported artifact that is generated by Coverity. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26682 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
43bf250bf8
Коммит
595caf7d7c
|
@ -1878,15 +1878,19 @@ class StaticAnalysis(MachCommandBase):
|
|||
'line': issue['mainEventLineNumber'],
|
||||
'flag': issue['checkerName'],
|
||||
'message': event_path['eventDescription'],
|
||||
'extra': []
|
||||
'extra': {
|
||||
'category': issue['checkerProperties']['category'],
|
||||
'stateOnServer': issue['stateOnServer'],
|
||||
'stack': []
|
||||
}
|
||||
}
|
||||
|
||||
# Embed all events into extra message
|
||||
for event in issue['events']:
|
||||
dict_issue['extra'].append({'file_path': event['strippedFilePathname'],
|
||||
'line_number': event['lineNumber'],
|
||||
'path_type': event['eventTag'],
|
||||
'description': event['eventDescription']})
|
||||
dict_issue['extra']['stack'].append({'file_path': event['strippedFilePathname'],
|
||||
'line_number': event['lineNumber'],
|
||||
'path_type': event['eventTag'],
|
||||
'description': event['eventDescription']})
|
||||
|
||||
return dict_issue
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче