Skip to content

Commit fb0087a

Browse files
authored
Classic cf commit message variable (#1042)
* Update applications-dashboard.md * Add new pull request title variables Added descriptions of new pull request title variables - escaped and unescaped
1 parent 4a167a2 commit fb0087a

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

_docs/deployments/gitops/applications-dashboard.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -494,22 +494,6 @@ caption="Current State: Delete an application resource"
494494
max-width="50%"
495495
%}
496496

497-
### Delete application resources
498-
Delete specific resources in an application directly from the Codefresh UI.
499-
500-
1. In the Codefresh UI, from the sidebar, under OPS, select **GitOps Apps**.
501-
1. From the Application dashboard, select the application with the resource to delete.
502-
1. From the context menu of the resource, select **Delete**.
503-
504-
{% include
505-
image.html
506-
lightbox="true"
507-
file="/images/applications/current-state-delete-resource.png"
508-
url="/images/applications/current-state-delete-resource.png"
509-
alt="Current State: Delete an application resource"
510-
caption="Current State: Delete an application resource"
511-
max-width="50%"
512-
%}
513497

514498
### Health status for application resources
515499
View and monitor health status of the selected application's resources in the Current State tab, in Tree or List views.

_docs/pipelines/variables.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ The table below describes the system variables.
128128
| {% raw %}`${{CF_BUILD_INITIATOR}}`{% endraw %} | The username of the user who initiated the build.<br> If the build is initiated by a Git webhook, as for example from a PR, this variable returns the webhook user.<br>If the build is restarted manually, the variable always returns the username of the person who restarted the build. |
129129
| {% raw %}`${{CF_ACCOUNT}}`{% endraw %} | The Codefresh account for this build. |
130130
| {% raw %}`${{CF_COMMIT_URL}}`{% endraw %} | The commit URL. |
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-
| {% 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 %} . |
131+
| {% raw %}`${{CF_COMMIT_MESSAGE}}`{% endraw %} | The commit message of the Git repository revision at the time of execution.<br/> Only quotes in the message are escaped (`'` is escaped `\'` and `"` is escaped as `\"`).<br>To get the title of the pull request, use {% raw %}`${{CF_PULL_REQUEST_TITLE}}`{% endraw %}. |
132+
| {% raw %}`${{CF_COMMIT_MESSAGE_ESCAPED}}`{% endraw %} | The commit message of the Git repository revision at the time of execution with special characters _escaped_. <br> To get the escaped title of the pull request, use {% raw %}`${{CF_PULL_REQUEST_TITLE_ESCAPED}}`{% endraw %}. |
133+
| {% raw %}`${{CF_PULL_REQUEST_TITLE}}`{% endraw %} | The _unescaped_ title of the pull request that triggered the pipeline build.<br/> To escape special characters, use {% raw %}`${{CF_PULL_REQUEST_TITLE_ESCAPED}}`{% endraw %}. |
134+
| {% raw %}`${{CF_PULL_REQUEST_TITLE_ESCAPED}}`{% endraw %} | The title of the pull request that triggered the pipeline build, with special characters _escaped_. <br>To not escape special characters, use {% raw %}`${{CF_PULL_REQUEST_TITLE}}`{% endraw %}. |
135+
| {% 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 %} . |
134136
| {% 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/). |
135137
| {% 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`. |
136138
| {% 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>{:/} |

0 commit comments

Comments
 (0)