You can enable a more verbose output by passing the BUILD_LOGLEVEL
environment
variable as part of the sourceStrategy
in a BuildConfig
.
Note
|
An administrator can set the default build verbosity for the entire
{product-title} instance by configuring |
Available log levels for Source builds are as follows:
Level 0 |
Produces output from containers running the assemble script and all encountered errors. This is the default. |
Level 1 |
Produces basic information about the executed process. |
Level 2 |
Produces very detailed information about the executed process. |
Level 3 |
Produces very detailed information about the executed process, and a listing of the archive contents. |
Level 4 |
Currently produces the same information as level 3. |
Level 5 |
Produces everything mentioned on previous levels and additionally provides docker push messages. |
To enable more verbose output, pass the BUILD_LOGLEVEL
environment variable
as part of the sourceStrategy
or dockerStrategy
in a BuildConfig
:
sourceStrategy:
...
env:
- name: "BUILD_LOGLEVEL"
value: "2" (1)
-
Adjust this value to the desired log level.