1

In Azure build pipeline i need to added the "Quality Gate Widget" task and its already installed, but i'm unable to see "Add" button.

Can anyone suggest me what needs to be done - is there any that i'm missin?

Thanks in advance. enter image description here

Jonas
  • 121,568
  • 97
  • 310
  • 388
Raghu Hoskote
  • 117
  • 2
  • 14

1 Answers1

1

Unfortunately, that extension only contains a Dashboard Widget and not a pipeline task. So, you won't be able to add it to a pipeline.

You can use this Azure DevOps extension to fail builds in the event your Sonarqube quality gates don't pass:

Max Morrow
  • 1,206
  • 4
  • 13
  • Got it Thanks, I tried adding the extension to the Dashabord Widget, but its unable to fetch the details from Sonarqube. Below is the URL that is configured, I am able to hit the endpoint in the postman/browser and able to get the details. **https:///api/qualitygates/project_status?projectKey=** Is there anything to be done ? – Raghu Hoskote Feb 17 '21 at 04:38
  • 1
    @RaghuHoskote. Please check if you having the same issue as this ticket: https://github.com/yuriburger/quality-gate-widget/issues/1 . This extension seems to have issues. – Jeff Feb 17 '21 at 08:48
  • Yes, I have the exact same issue, not sure what needs to be done. – Raghu Hoskote Feb 19 '21 at 02:33
  • @RaghuHoskote. You settings should be correct. The extension itself has some issues. So this widget may not be able to use. – Jeff Feb 19 '21 at 05:24