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/configure-ci-cd-pipeline/monitoring-pipelines.md
+56-7Lines changed: 56 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,8 @@ Monitor the status of the steps in the pipeline as they are executed.
201
201
|{::nomarkdown}<imgsrc="../../../images/pipeline/monitoring/step-status-error.png"display=inline-block/> {:/}| Pipeline step execution has been terminated because of error.|
202
202
203
203
204
-
###View/download logs for builds and build steps
204
+
205
+
###Viewing/downloading logs for builds and build steps
205
206
206
207
View logs for running and completed builds and download them in HTML or text formats.
207
208
You can view logs online, for the entire build or for single or specific steps in the build. Similarly, you can download the logs for the entire build, or for single or specific steps.
@@ -211,6 +212,13 @@ The Filter Logs option is useful to view and manage logs, especially for large b
211
212
The max log size for the entire build is 100MB, and 20MB per step. The system stops generating logs once the build size is exceeded.
212
213
For large builds, it is easier to filter the logs by single or multiple steps, and then view/download them.
213
214
215
+
1. In the**Builds** page, select a build.
216
+
1. To view logs online for the selected build, click**Output** in the lower part of the Build page.
217
+
1. Optional. Select**Filter Logs** and then select the step or steps for which view/download logs.
218
+
Logs are displayed for the selected steps.
219
+
1. From either the context menu on the top-right of the toolbar or from the Output pane, select**Download as HTML** or**Download as text**.
220
+
The log file is downloaded with the build ID as the filename, including also the step name if the log is for a single step, in the format `<build-id-<step-name>'.
221
+
214
222
{% include
215
223
image.html
216
224
lightbox="true"
@@ -222,13 +230,54 @@ max-width="60%"
222
230
%}
223
231
224
232
225
-
1. In the**Builds** page, select a build.
226
-
1. To view logs online for the selected build, click**Output** in the lower part of the Build page.
227
-
1. Optional. Select**Filter Logs** and then select the step or steps for which view/download logs.
228
-
Logs are displayed for the selected steps.
229
-
1. From either the context menu on the top-right of the toolbar or from the Output pane, select**Download as HTML** or**Download as text**.
230
-
The log file is downloaded with the build ID as the filename, including also the step name if the log is for a single step, in the format `<build-id-<step-name>'.
233
+
###Viewing variables in pipeline builds
234
+
235
+
Variables, both system (environment) and custom (user-defined), are injected into pipelines from different sources and at different levels.
236
+
The variables actually used by a specific build of the pipeline varies according to the events that triggered the pipeline.
237
+
Select a build to view all its variables, and identify their source, and overrides if any.
238
+
239
+
1. In the**Builds** page, either select the build and then open the context-menu, or open the context-menu on the right of the build entry.
The variables are grouped by granularity, starting with the global project-level variables and ending with the trigger-level variables with the highest granularity:
270
+
* Project
271
+
* Shared configuration
272
+
* Pipeline
273
+
* Trigger
274
+
For information on the order of precedence for variables in builds and variable overrides, see[Variables]({{site.baseurl}}/docs/codefresh-yaml/variables/).
275
+
276
+
>Notes:
277
+
* Variables exported across steps with`cf_export` are not identified as`cf-exported` variables in the list.