- Sonar Server version: 2026.3.1.123439
- what are you trying to achieve: Azure pipeline sonar report publish
Until yesterday my azure pipelines are working fine and all of my sonar reports are published to my sonar server. But suddenly my pipelines are breaking on the sonar publish step, consider I am running 4 times in that 3 of them got passed and 1 got failed. During that time i am getting the following error,
==============================================================================
Task : Publish Quality Gate Result
Description : Publish SonarQube Server's Quality Gate result on the Azure DevOps build result, to be used after the actual analysis.
Version : 8.2.3
Author : sonarsource
==============================================================================
[INFO] SonarQube Server: Server version: 2026.3.1.123439
##[error][ERROR] SonarQube Server: Error while executing task Publish: Task failed with status FAILED, Error message: Fail to execute es request
##[error]Task failed with status FAILED, Error message: Fail to execute es request
The only configuration we have done in my pipeline template for the publishing is as follows, (we skipped on failure for unblocking the team)
# Sonar Publish
- task: SonarQubePublish@8
continueOnError: true
inputs:
pollingTimeoutSec: '300'