Sonarcloud analysis from Bitbucket pipeline stopped working

Hi,

SonarCloud plugin in BitBucket says “Failed to check code quality” after the pipeline did go through without issues just like before, but the link to the analysis, e.g.: https://sonarcloud.io/dashboard?id=XYZ&pullRequest=1234 doesn’t work any more, since the branch/PR was not really analyzed.

The way we trigger analysis in the pipeline:

    - step: &build-test-sonarcloud
        name: Build, test and analyze on SonarCloud
        image: maven:3.6.3-jdk-11
        caches:
          - maven
          - sonar
        script:
          - mvn -B org.jacoco:jacoco-maven-plugin:prepare-agent verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dbitbucket=true

This issue started 3 weeks ago

Hey there.

What do the logs from your pull request pipeline (where the analysis is running) indicate is happening? For example:

INFO: Check ALM binding of project 'colinmuellerbbc_sdfdsaf'
INFO: Detected project binding: BOUND
INFO: Check ALM binding of project 'colinmuellerbbc_sdfdsaf' (done) | time=151ms
....
INFO: Detected analysis for pull request '1' targeting 'master'
INFO: Auto-configuring pull request 1
.....
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=colinmuellerbbc_sdfdsaf&pullRequest=1
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report

Please disregard the ticket. It was an issue on our end.
Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.