<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>

CC BY-SA 4.0
2021-08-03T13:28:00.557Z
2021-08-03T13:28:00.557Z
BMitch
<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>

<gitlab><cicd>
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
maria khalid
# 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:


Go to the project’s Settings > CI/CD and expand the Runners section.
Find the runner you want to pick untagged jobs and make sure it’s enabled.
Click the pencil button.
Check the Run untagged jobs option.
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


---

