Answers: <p>You need to either configure the runner to run untagged jobs, or tag your job to use the runner.</p>
  <p>To configure the runner to run untagged jobs:</p>
  <blockquote>
  <ol>
  <li>Go to the project’s Settings &gt; CI/CD and expand the Runners section.</li>
  <li>Find the runner you want to pick untagged jobs and make sure it’s enabled.</li>
  <li>Click the pencil button.</li>
  <li>Check the Run untagged jobs option.</li>
  <li>Click the Save changes button for the changes to take effect.</li>
  </ol>
  </blockquote>
  <p>Ref: <a href="https://docs.gitlab.com/13.12/ee/ci/runners/#use-tags-to-limit-the-number-of-jobs-using-the-runner" rel="nofollow noreferrer">https://docs.gitlab.com/13.12/ee/ci/runners/#use-tags-to-limit-the-number-of-jobs-using-the-runner</a></p>
  <p>To add a tag to your job:</p>
  <pre><code>job:
    tags:
      - ci
  </code></pre>
  <p>Ref: <a href="https://docs.gitlab.com/ee/ci/yaml/#tags" rel="nofollow noreferrer">https://docs.gitlab.com/ee/ci/yaml/#tags</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2021-08-03T13:28:00.557Z
Answers: 2021-08-03T13:28:00.557Z
Answers: BMitch
Body: <p>Despite of the fact runner is alive. Why this error is coming</p>
  <p><a href="https://i.sstatic.net/7sMeq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7sMeq.png" alt="enter image description here" /></a></p>
  
Tags: <gitlab><cicd>
Title: ERROR This job is stuck because the project doesn't have any runners online assigned to it. even though i have added runner and it is alive
UserDisplayName: maria khalid
ThreadText: # ERROR This job is stuck because the project doesn't have any runners online assigned to it. even though i have added runner and it is alive
  
  (Asked by: username_0 on 2021-08-03)
  
  Despite of the fact runner is alive. Why this error is coming
  
  [![enter image description here](https://i.sstatic.net/7sMeq.png)](https://i.sstatic.net/7sMeq.png)
  
  **Tags:** gitlab, cicd
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-08-03. Score: 3
  
  You need to either configure the runner to run untagged jobs, or tag your job to use the runner.
  
  To configure the runner to run untagged jobs:
  
  > 1. Go to the project’s Settings > CI/CD and expand the Runners section.
  > 2. Find the runner you want to pick untagged jobs and make sure it’s enabled.
  > 3. Click the pencil button.
  > 4. Check the Run untagged jobs option.
  > 5. Click the Save changes button for the changes to take effect.
  
  Ref: <https://docs.gitlab.com/13.12/ee/ci/runners/#use-tags-to-limit-the-number-of-jobs-using-the-runner>
  
  To add a tag to your job:
  
  ```
  job:
    tags:
      - ci
  
  ```
  
  Ref: <https://docs.gitlab.com/ee/ci/yaml/#tags>
  
  
  ---
  
  