-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
For some reason for on of our repositories hg blame produces a row without any user or changeset infromation. Sonar-scm-mercurial fails on this row and throws away the whole analysis.
This might be a problem with mercurial but I would still prefer that such errors would be skipped and the analysis and available scm information sent to SonarQube server.
The offending part of blame output seems to be this. Notice the line with single curly brace
user1 1a25faa8b304 Tue Apr 17 07:26:46 2007 +0000:
user1 1a25faa8b304 Tue Apr 17 07:26:46 2007 +0000:
}
user1 05f2b7762edd Thu May 03 10:21:02 2007 +0000:
user2 75e1d843f817 Thu Jan 06 09:19:35 2011 +0000: function toggleVisibilityHak2() {
Error we've got is this
[17:55:33]
[Step 1/1] INFO: EXECUTION FAILURE
[17:55:33]
[Step 1/1] INFO: ------------------------------------------------------------------------
[17:55:33]
[Step 1/1] INFO: Total time: 42.594s
[17:55:34]
[Step 1/1] ERROR: Error during SonarQube Scanner execution
[17:55:34]
[Step 1/1] INFO: Final Memory: 25M/132M
[17:55:34]
[Step 1/1] INFO: ------------------------------------------------------------------------
[17:55:34]
[Step 1/1] ERROR: Error inside stdOut stream [command: hg blame -w -v --user --date --changeset Sivut/General/LahetyksenEsikatselu.aspx]
[17:55:34]
[Step 1/1] ERROR: Caused by: Unable to blame file path/to/file.aspx. Unrecognized blame info at line 76: }
[17:55:34]
[Step 1/1] ERROR:
[17:55:34]
[Step 1/1] The SonarQube Scanner did not complete successfully
[17:55:34]
[Step 1/1] 17:55:34.478 Post-processing failed. Exit code: 1
Metadata
Metadata
Assignees
Labels
No labels