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 variables.md#1040

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
NimRegev merged 1 commit intocodefresh-io:masterfromphysalis123:patch-1
Aug 15, 2024
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
6 changes: 3 additions & 3 deletions_docs/pipelines/variables.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -130,12 +130,12 @@ The table below describes the system variables.
| {% raw %}`${{CF_COMMIT_URL}}`{% endraw %} | The commit URL. |
| {% raw %}`${{CF_COMMIT_MESSAGE}}`{% endraw %} | The commit message of the Git repository revision, at the time of execution.<br/> The messages quotes are escaped (i.e. ' is not \', " is now \"). |
| {% raw %}`${{CF_COMMIT_MESSAGE_ESCAPED}}`{% endraw %} | The commit message of the Git repository revision, at the time of execution.<br/> Special characters are escaped. |
| {% raw %}`${{CF_REVISION}}`{% endraw %} | The revision of the Git repository of the main pipeline, at the time of execution. <br/> To get the abbreviated 7-character revision hash as used in Git, use {% raw %}`${{CF_SHORT_REVISION}}`{% endraw %}. <br>**NOTE**: To tag the image as a string with quotes, use {% raw %}`${{CF_SHORT_REVISION}}`{% endraw %} . |
| {% raw %}`"${{CF_REVISION}}"`{% endraw %} | The revision of the Git repository of the main pipeline, at the time of execution. <br/> To get the abbreviated 7-character revision hash as used in Git, use {% raw %}`${{CF_SHORT_REVISION}}`{% endraw %}. <br>**NOTE**: To tag the image as a string with quotes, use {% raw %}`${{CF_SHORT_REVISION}}`{% endraw %} . |
| {% raw %}`${{CF_VOLUME_NAME}}`{% endraw %} | The [shared volume]({{site.baseurl}}/docs/pipelines/introduction-to-codefresh-pipelines/#sharing-the-workspace-between-build-steps) defined in [compositions]({{site.baseurl}}/docs/pipelines/steps/composition/). |
| {% raw %}`${{CF_VOLUME_PATH}}`{% endraw %} | The mounted path of the [shared volume]({{site.baseurl}}/docs/pipelines/introduction-to-codefresh-pipelines/#sharing-the-workspace-between-build-steps) within a freestyle container. In the current implementation it expands to `/codefresh/volume`. |
| {% raw %}`${{CF_BUILD_TRIGGER}}`{% endraw %} | The indication of how the current build was triggered:{::nomarkdown} <ul><li><code class="highlighter-rouge">build</code>: The build was triggered by clicking the Build button</li><li><code class="highlighter-rouge">webhook</code>: The build was triggered from a control version webhook.</ul>{:/} |
| {% raw %}`${{CF_BUILD_ID}}`{% endraw %} | The build ID. <br>**NOTE**: To use this variable as a string tototag the image, enclose it in quotes, {% raw %}`"${{CF_BUILD_ID}}"`{% endraw %}. |
| {% raw %}`${{CF_BUILD_TIMESTAMP}}`{% endraw %} | The timestamp when the build was created.<br>**NOTE**: To use this variable as a string tototag the image, enclose it in quotes, {% raw %}`"${{CF_BUILD_TIMESTAMP}}"`{% endraw %}. |
| {% raw %}`${{CF_BUILD_ID}}`{% endraw %} | The build ID. <br>**NOTE**: To use this variable as a string to tag the image, enclose it in quotes, {% raw %}`"${{CF_BUILD_ID}}"`{% endraw %}. |
| {% raw %}`${{CF_BUILD_TIMESTAMP}}`{% endraw %} | The timestamp when the build was created.<br>**NOTE**: To use this variable as a string to tag the image, enclose it in quotes, {% raw %}`"${{CF_BUILD_TIMESTAMP}}"`{% endraw %}. |
| {% raw %}`${{CF_BUILD_URL}}`{% endraw %} | The URL to the build in Codefresh. |
| {% raw %}`${{CF_PIPELINE_NAME}}`{% endraw %} | The full path of the pipeline, including the project to which it is assigned, if any, as in "project/pipeline". |
| {% raw %}`${{CF_STEP_NAME}}`{% endraw %} | The name of the step, for example, "MyUnitTests". |
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp