Must-share information (formatted with Markdown):
- Which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) : 9.9 LTS
- how is SonarQube deployed: zip
- what are you trying to achieve: wanted to implement. ““Break build on quality gate failure” task for Azure Devops”
- What have you tried so far to achieve this :
- Added "“Break build on quality gate failure” addon added to Azure DevOps and added to pipeline after the tasks
a) “Prepare analysis on SonarQube” b) Run Code Analysis c)Publish Quality Gate Result
But it is failing with below error. I am running the ADO agent as service with domain user ( Ex :domain\admin). Looks like issue could be with permissions, if so how can i add the windows domain user to sonarQube ? Can you please suggest?
==============================================================================
##[error][SQ] API GET ‘/api/ce/task’ failed, status code was: 403
##[error][SQ] Could not fetch task for ID ‘AYZbpgcQVjW1Hz4YGirb’
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!