The task is completing but I can see an error in the log,
Attaching the log here.
Hi @rahul.shankhareman ,
it looks like your project is detected as having windows-1252 encoding. Is that correct? If not you should probably set sonar.sourceEncoding. I would guess that the correct encoding should be utf-8.
Cheers,
@saberduck Thanks, Making this change fixed the error.