Closed r-plus closed 1 year ago
Ah, thank you. I forgot about working-directory. You are right, it should use CIRCLE_WORKING_DIRECTORY
.
issue should be fixed with #59. Close issue when I add test for working_directory and pass it.
@r-plus I've released v2.8.0. Could you try this version?
@guitarrapc thanks!
I just tried v2.8.0, it is perfect expected behavior with working_directory
configuration. (I'm not using SourceCache)
Thank you again for your blazing fast response :)
If
working_directory
parameter is configured in CircleCI config.ymland use of git-shallow-clone checkout without
path
parameter.thus,
git-shallow-clone/checkout
will checkout source codes to~/project
but our steps will do something in~/my-original-working-directory
that is empty directory.Why are you using hard coded path of
~/project
since v2.7.0?I'm thinking support of both respecting
working_directory
configuration and SourceCaching is possible by using$CIRCLE_WORKING_DIRECTORY
environment variable instead of hard-coded${HOME}/project
.https://circleci.com/docs/configuration-reference/#job-name:~:text=Processes%20run%20during%20the%20job%20can%20use%20the%20%24CIRCLE_WORKING_DIRECTORY%20environment%20variable%20to%20refer%20to%20this%20directory.
What do you think?