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?