Skip to content

Only tailing logs if the files exist in artifacts

Vishal Patel requested to merge fix-when-to-log into master

What does this MR do and why?

This MR adds condition which checks if the logs files in the artifacts exists before tailing the last 100 logs and printing it to stdout

This MR would eliminate errors like https://gitlab.com/gitlab-org/gitlab/-/jobs/6713086573

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Anastasia McDonald

Merge request reports