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

Commit5913dbc

Browse files
authored
Merge pull request#509 from codefresh-io/classic-view-build-variables
Classic view build variables
2 parents8c829b3 +e496c15 commit5913dbc

File tree

4 files changed

+56
-7
lines changed

4 files changed

+56
-7
lines changed

‎_docs/configure-ci-cd-pipeline/monitoring-pipelines.md‎

Lines changed: 56 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ Monitor the status of the steps in the pipeline as they are executed.
201201
|{::nomarkdown}<imgsrc="../../../images/pipeline/monitoring/step-status-error.png"display=inline-block/> {:/}| Pipeline step execution has been terminated because of error.|
202202

203203

204-
###View/download logs for builds and build steps
204+
205+
###Viewing/downloading logs for builds and build steps
205206

206207
View logs for running and completed builds and download them in HTML or text formats.
207208
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
211212
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.
212213
For large builds, it is easier to filter the logs by single or multiple steps, and then view/download them.
213214

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+
214222
{% include
215223
image.html
216224
lightbox="true"
@@ -222,13 +230,54 @@ max-width="60%"
222230
%}
223231

224232

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.
240+
1. Select**Variables**.
241+
242+
{% include
243+
image.html
244+
lightbox="true"
245+
file="/images/pipeline/monitoring/build-variables-view-option.png"
246+
url="/images/pipeline/monitoring/build-variables-view-option.png"
247+
alt="Variables option in context menu of build entry"
248+
caption="Variables option in context menu of build entry"
249+
max-width="70%"
250+
%}
251+
252+
{:start="3"}
253+
1. If required, click the Sort icon for the group to sort in alphabetical order.
254+
1. To copy the group's variables to the clipboard, click the Copy icon.
255+
256+
257+
Here's an example of the list of variables for a pipeline build.
258+
259+
{% include
260+
image.html
261+
lightbox="true"
262+
file="/images/pipeline/monitoring/build-variables-list.png"
263+
url="/images/pipeline/monitoring/build-variables-list.png"
264+
alt="List of variables in selected build"
265+
caption="List of variables in selected build"
266+
max-width="50%"
267+
%}
268+
269+
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.
278+
* Secret-type variables are always masked.
231279

280+
232281

233282
###Reviewing the yaml for the pipeline
234283

84.1 KB
Loading
52.1 KB
Loading
53.5 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp