Is nesting an output directory within an input directory not allowed?

Hi,

In concourse, I cloned a source repository and was “in” the root directory of the source repository. I then had a step like the following:

dotnet publish -o build-artifacts

“build-artifacts” is inside the source directory.

When I tried to use “build-artifacts” in the next step, I would get a message saying the “file build-artifacts could not be found.”

I found I could get it to work if I used:

dotnet publish -o …/build-artifacts

“build-artifacts” is outside the source directory.

So is nesting an output directory within an input directory not allowed?

Thanks!

That is certainly how things have worked in the past. I got the impression that this can now be done as of Concourse v5.0.0 but I haven’t tested it.

:thinking: Maybe it doesn’t work on Windows? 5.0 did change this but we only tested the behavior on Linux.