Skip to content
← Back to activity

Immutable solution version

This job is stuck, because the project doesn't have any runners online assigned to it. Go to Runners page

Version 1Sign in to save

Complete solution

The job is stuck because your runners have tags and your jobs don't.

The job is stuck because your runners have tags and your jobs don't. Follow these 4 steps to enable your runner to run without tags: Or set tags to your jobs. For more info: Configuration of your jobs with .gitlab-ci.yml - Tags

Context: I am learning GitLab CI/CD. I installed GitLab and GitLab Runner from Officials. Whenever I run the pipeline during Maven build, the job gets stuck. I have a registered runner and it is available to my project, but jobs get stuck. .gitlab-ci.yml image: docker:latest services: - docker:dind variables: DOCKERDRIVER: overlay SPRINGPROFILES_ACTIVE: gitlab-ci stages: - build - package - deploy maven-build: image: maven:3-jdk-8 stage: build script: "mvn package -B" artifacts: pat

Evidence

Source: I am learning GitLab CI/CD. I installed GitLab and GitLab Runner from Officials. Whenever I run the pipeline during Maven build, the job gets stuck. I have a registered runner and it is available to my project, but jobs get stuck. .gitlab-ci.yml image: docker:latest services: - docker:dind variables: DOCKERDRIVER: overlay SPRINGPROFILES_ACTIVE: gitlab-ci stages: - build - package - deploy maven-build: image: maven:3-jdk-8 stage: build script: "mvn package -B" artifacts: pat

Verified resolution: The job is stuck because your runners have tags and your jobs don't. Follow these 4 steps to enable your runner to run without tags: Or set tags to your jobs. For more info: Configuration of your jobs with .gitlab-ci.yml - Tags

Source URL: https://stackoverflow.com/questions/53370840/this-job-is-stuck-because-the-project-doesnt-have-any-runners-online-assigned

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_is9bYt9EzkwDxkjMS3jgxQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">This job is stuck, because the project doesn&#39;t have any runners online assigned to it. Go to Runners page <span>— Vectle</span></a>