Gitlab runner with docker executor

Hi Everyone,

I have installed gitlab runner with docker executor. Now when I am running the .yml script I can see that the steps are executed but the build files are not present in my machine where I have installed the runner?

Can anyone help me in this one?
image Capture

Hi,

the job runs inside a Docker container, which is not physically mapped to your host server. If you want to extract artifacts from a specific job, you need to define them in your CI config or upload them somewhere else, e.g. curl against a REST API.

https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html

Cheers,
Michael

1 Like

Thanks a lot @dnsmichi

When a solution is working you should appreciate the answer and mark it as “solution”?!