如果Bitbucket Pipeline执行SonarCloud分析失败,可以采用以下步骤进行修复:
image: maven:3.3.9-jdk-8 pipelines: default: - step: caches: - maven script: - mvn clean install - pipe: sonarsource/sonarcloud-scan:1.0.1 variables: SONAR_TOKEN: $SONAR_TOKEN EXTRA_ARGS: -Dsonar.verbose=true -Dsonar.java.binaries=./target/classes DEBUG: 'true'