Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,056
Community Members
 
Community Events
168
Community Groups

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

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

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

Atlassian Community Events