You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/pipelines/variables.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,12 +130,12 @@ The table below describes the system variables.
130
130
| {% raw %}`${{CF_COMMIT_URL}}`{% endraw %} | The commit URL. |
131
131
| {% 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 \"). |
132
132
| {% raw %}`${{CF_COMMIT_MESSAGE_ESCAPED}}`{% endraw %} | The commit message of the Git repository revision, at the time of execution.<br/> Special characters are escaped. |
133
-
| {% 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 %} . |
133
+
| {% 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 %} . |
134
134
| {% 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/). |
135
135
| {% 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`. |
136
136
| {% 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>{:/} |
137
-
| {% raw %}`${{CF_BUILD_ID}}`{% endraw %} | The build ID. <br>**NOTE**: To use this variable as a string to to tag the image, enclose it in quotes, {% raw %}`"${{CF_BUILD_ID}}"`{% endraw %}. |
138
-
| {% raw %}`${{CF_BUILD_TIMESTAMP}}`{% endraw %} | The timestamp when the build was created.<br>**NOTE**: To use this variable as a string to to tag the image, enclose it in quotes, {% raw %}`"${{CF_BUILD_TIMESTAMP}}"`{% endraw %}. |
137
+
| {% 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 %}. |
138
+
| {% 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 %}. |
139
139
| {% raw %}`${{CF_BUILD_URL}}`{% endraw %} | The URL to the build in Codefresh. |
140
140
| {% 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". |
141
141
| {% raw %}`${{CF_STEP_NAME}}`{% endraw %} | The name of the step, for example, "MyUnitTests". |
0 commit comments