Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update what-is-the-codefresh-yaml.md#321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kostis-codefresh merged 1 commit intomasterfromclarifyWorkingDirectoryBehavior
Sep 8, 2021
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions_docs/codefresh-yaml/what-is-the-codefresh-yaml.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -154,11 +154,11 @@ In the context of a step, a working directory can be of the following type:
| Working Directory | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Empty | Defaults to the [Codefresh volume]({{site.baseurl}}/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/#sharing-the-workspace-between-build-steps) (found at `/codefresh/volume`). If there is a [git clone step]({{site.baseurl}}/docs/codefresh-yaml/steps/git-clone/) with the special name `main_clone` then the default working directory is now the [project folder]({{site.baseurl}}/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/#cloning-the-source-code) that was checked out. |
| Variable that contains the ID of a [Git-Clone]({{site.baseurl}}/docs/codefresh-yaml/steps/git-clone/) step | Runs the step within the cloned directory. If you name your clone step as `main_clone` then all subsequent pipeline steps will automatically use that cloned directory as working directory. |
| Variable that contains the ID of a [Git-Clone]({{site.baseurl}}/docs/codefresh-yaml/steps/git-clone/) step | Runs the step within the cloned directory. If you name your clone step as `main_clone` then all subsequent pipeline steps will automatically use that cloned directory as working directory.This only applies to [built-in]({{site.baseurl}}/docs/codefresh-yaml/steps/#built-in-steps) Codefresh steps and not [custom plugins]({{site.baseurl}}/docs/codefresh-yaml/steps/#creating-a-typed-codefresh-plugin). |
| 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**]({{site.baseurl}}/docs/codefresh-yaml/steps/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 directory for example:<br> `working_directory: IMAGE_WORK_DIR` |
| 'IMAGE_WORK_DIR' | Use this value inorder to use the image working directory for example:<br> `working_directory: IMAGE_WORK_DIR` |

## Retrying a step

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp