简体   繁体   中英

Gitlab-ci-Runner- Stuck

I am new to this but I noticed that when I run a job and, let's say, there is an error or something went wrong and the job is stuck at “Running” state, when I cancel it and try to restart the job, nothing is happening. I am attaching you a picture and also the .gitlab-ci.yml file in order to see what I am doing. Please bear in mind that I just created a simple project in Angular 4 and I just trying to run the tests.

Here is the .gitlab-ci.yml code:

image: node:4.2.2
before_script:
- npm install
stages:
- test
test_app:
stage: test
script:
- node_modules/karma/bin/karma start karma.conf.js

And here is what is happening after I cancel the job and retry to run it again. The runner is stuck:

在此处输入图片说明

My runner: 在此处输入图片说明

在此处输入图片说明

Can you provide more info about your Gitlab instance and connected runners? (Hosted, on-prem, dedicated runners, shared runners?)

Answer for as far as I can see: It looks like there is no runner available to run your jobs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM