Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Quality Gate failed: Could not find compute engine task URL in scanner report

Abhishek Raghani August 16, 2022

I have a bitbucket pipeline configured, but it fails sonarcloud quality gate.
My pipeline is as follow: 

# enable Docker for your repository
options:
docker: true

definitions:
services:
docker:
memory: 2048
caches:
sonar: ~/.sonar/cache # Caching SonarCloud artifacts will speed up your build
clone:
depth: full # SonarCloud scanner needs the full history to assign issues properly
pipelines:
#branches:
pull-requests:
'**':
- step:
name: SonarCloud-Scan and Quality-gate
script:
- pipe: sonarsource/sonarcloud-scan:1.4.0
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6
variables:
SONAR_TOKEN: ${SONAR_TOKEN} # Get the value from the repository/workspace variable. You shouldn't set secret in clear text here.
SONAR_HOST_URL: ${SONAR_HOST_URL} # Get the value from the repository/workspace variable.
# SONAR_SCANNER_OPTS: -Xmx512m
DEBUG: "true"

errorbitsonarcloud.jpg

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2022

Hi @Abhishek Raghani,

I would suggest raising a question about this issue in SonarSource community forum:

This pipe is not developed by Atlassian, but by SonarSource, so they're better equipped to help you with this issue. If you check the README in the repo of the pipe, you can also see that support for this pipe is provided in the forum I linked.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events