Skip to content

Improve error message for failure to create cache or artifacts [Kubernetes Executor]

Description

Instead of the generic error message, ERROR: Job failed: pod "runner-xxxx-xxxx-xxxx-concurrrent-x-xxxxx" status is "Failed" generate a more descriptive error visible in the CI log for when a CI job on Kubernetes fails to upload the cache or artifacts.

Error message screenshot -Docker Machine executor

For example, in the Docker Machine executor, a failure to upload the cache results in the error messages in the logs, highlighted in red.

Screenshot_2023-12-14_at_2.50.50_PM

Error message screenshot - K8s executor

Screenshot_2023-12-14_at_2.57.00_PM

Proposal

  • {placeholder for proposal}
Edited by Darren Eastman