Can';无法到达GitLab管道中的SONAR\u主机\u URL

Can';无法到达GitLab管道中的SONAR\u主机\u URL,gitlab,sonarqube,gitlab-ci,Gitlab,Sonarqube,Gitlab Ci,我正在尝试将SonarQube社区版本集成到GitLab管道中,以分析我的.Net核心项目。我遵循了这个指示 但是,当我尝试运行此管道时,它会因以下日志而失败: My gitlab-ci.yml: sonarqube-check: image: name: sonarsource/sonar-scanner-cli:latest entrypoint: [""] variables: SONAR_USER_HOME: "${

我正在尝试将SonarQube社区版本集成到GitLab管道中,以分析我的.Net核心项目。我遵循了这个指示

但是,当我尝试运行此管道时,它会因以下日志而失败:

My gitlab-ci.yml:

    sonarqube-check:
  image:
    name: sonarsource/sonar-scanner-cli:latest
    entrypoint: [""]
  variables:
    SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"  # Defines the location of the analysis task cache
    SONAR_HOST_URL: "https://sonarqube.******.com/"
    GIT_DEPTH: "0"  # Tells git to fetch all the branches of the project, required by the analysis task
  cache:
    key: "${CI_JOB_NAME}"
    paths:
      - .sonar/cache
  script:
    - sonar-scanner -Dsonar.qualitygate.wait=true
  allow_failure: true
  only:
    - merge_requests
    - master
    - develop
我还尝试在GitLab的变量设置中指定SONAR_标记和SONAR_主机_URL,但结果是一样的。任何SONAR_主机_URL链接都会出现相同的错误

我试着设置http://localhost:9000/ 它也失败了。我还尝试使用保证SONAR_HOST_URL可用的链接(如google.com),但pipline也无法访问