DataDog / datadog-ci

Use Datadog from your CI.
https://datadoghq.com
Apache License 2.0
129 stars 55 forks source link

[STAL-2160] Show message when default branch not found #1427

Closed juli1 closed 2 months ago

juli1 commented 2 months ago

What and why?

Customer with no default branch have their upload rejected. They reach out support. We want to add a message that indicates how to troubleshoot so that the users can troubleshoot and fix the issue themselves.

How?

When the default branch is not found, the server will return an error code 412. When we receive this error, we show then a message to invite the user to define a default branch.

datadog-datadog-prod-us1[bot] commented 2 months ago

Datadog Report

Branch report: juli1/STAL-2160 Commit report: 8577e4c Test service: datadog-ci-tests

:white_check_mark: 0 Failed, 112 Passed, 0 Skipped, 1m 2.61s Total duration (2m 24.25s time saved)