The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Abhishek Raghani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events