How can I specify the working directory for a child pipeline?

I have a single repo with several projects within it, and I am using child pipelines to try to build the sub projects. However, when the subproject pipeline runs, the working directory of the pipeline is the root of the git repo. I have some gitlab pipeline templates for doing things like building projects and testing them and building docker images and pushing them and so forth.

Is there any way to specify the working directory of the child pipeline? Should the trigger should have some way to define it? Or should it always be relative to the directory that the pipeline file is located? Originally I assumed it should work in this way.

Thanks
Richard

1 Like

Did you ever figure this out?