Skip to content

Refactor for custom logs support #238

@kiwik

Description

@kiwik

Let's make things better!

Is your feature enhancement related to a problem? Please describe.

Now we have multiple different custom logs path exist in different OpenLab jobs, should do refactor to build a consist mechanism and usage in order to avoiding end user and developer's confusion.

  1. {{ ansible_user_dir }}/workspace/logs
  2. {{ ansible_user_dir }}/workspace/test_results.html
  3. {{ ansible_user_dir }}/workspace//test_results

See details

Describe the solution you'd like

Build an global environment variables to point to custom logs path, developer can redirect output to log file in that path, and OpenLab will store whole custom logs path into OpenLab log server.

make 2>&1  $MYLOGS/build-logs.log

Describe alternatives you've considered

NA

Additional context

NA

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions