0

I installed gitlab runner on wsl according to the gitlab documentation. I have a .gitlab-ci.yml file that looks as following:

testjob:
  script:
    - echo running test

When I try to run the pipeline with gitlab-runner exec shell testjob I get the following error:

Runtime platform                                    arch=amd64 os=linux pid=6467 revision=d540b510 version=15.9.1
Running with gitlab-runner 15.9.1 (d540b510)
Preparing the "shell" executor
Using Shell (bash) executor...
executor not supported                              job=1 project=0 referee=metrics
Preparing environment
Getting source from Git repository
Executing "step_script" stage of the job script
Job succeeded

I also noticed that the command bash && echo $PWD does not return anything, but bash -c "echo $PWD" does (taken from this post)

What other steps do I need to perform on WSL in order to be able to use my gitlab runner locally?

Yes
  • 339
  • 3
  • 19

0 Answers0