Quality gate task fails with error

sonarcloud

(abhinav) #1

– I am using azure devops to build my pipelines, this is for my .net project and I have 3 tasks set under the agent for sonar which are
– Prepare analysis on sonar cloud
– Run code analysis
– Publish quality gate result (So this particular task is failing with the below error, I have run with debug mode true, that’s all information I could get from that error)
error

2019-02-04T22:00:30. ##[debug][SQ] Publish task error: [SQ] Task failed with status FAILED
2019-02-04T22:00:30. ##[debug]task result: Failed
2019-02-04T22:00:30. ##[error][SQ] Task failed with status FAILED
2019-02-04T22:00:30. ##[debug]Processed: ##vso[task.issue type=error;][SQ] Task failed with status FAILED
2019-02-04T22:00:30.3426779Z ##[debug]Processed: ##vso[task.complete result=Failed;][SQ] Task failed with status FAILED```
-- Did anyone come across this error, whats the workaround for this? Let me know if any more information is required.
TIA

(Fabrice Bellingard) #2

This is the same topic as [sonar-scanner-vsts] Provide error message when SQ task failed


(abhinav) #3

Thanks for your response Fabrice, I was able to solve this issue by enabling the debug to ‘True’ and had an issue from my end, we were out of the code lines limit and had to upgrade the plan to 250k lines which fixed the issue.