GitLab CI/CD Pipeline Shows Running But Never Completes

I’ve configured SonarQube 9.6 with GitLab 15.4.1 and after creating my .gitlab-ci.yml, the pipeline task shows that it is running but it never completes. I have two GitLab Runners created and online. When I look at the status for the pipeline, it shows that download is pending.

This is the .yml I created for a specific project:

image: sonarsource/sonar-scanner-cli

cache:
  paths:
    - .sonar

stages:
  - download
  - build
  - scan

download:
  stage: download
  script:
      - mkdir -p .sonar
      - curl -sSLo build-wrapper-linux-x86.zip  $SONAR_HOST_URL/static/cpp/build-wrapper-linux-x86.zip
      - unzip -o build-wrapper-linux-x86.zip -d .sonar

build:
  stage: build
  script:
      - .sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir .sonar/bw-output <your clean build command>

sonarqube-check:
  stage: scan
  script: 
    - curl -sSLo sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-linux.zip
    - unzip -o sonar-scanner.zip -d .sonar
    - .sonar/sonar-scanner-4.6.2.2472-linux/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=.sonar/bw-output
  allow_failure: true

Hi,

Which download is pending? (There are several in an analysis, plus one more for the build wrapper.)

You might want to check with your network folks…?

 
Ann