Working Directories

In the context of a step, a working directory can be of the following type:

Working Directory Description
Empty Defaults to the cloned directory of the service. Also can be available by variable ${{main_clone}}
Variable that contains the ID of a Git-Clone step Runs the step within the cloned directory.
Variable that contains the ID of any other step Runs the step within the same working directory that the specified was executed.This option is not available for for Git-Clone steps.
Absolute filesystem path Treated as is within the container.
Relative filesystem path Treated as relative path from the cloned directory of the service
‘IMAGE_WORK_DIR’ When using a freestyle step, by default the working directory will be the cloned directory of the service. Use this value in-order to use the image working directoryfor example:
working_directory: IMAGE_WORK_DIR