Skip to content

Display remote messages along with the error from a Git server when a push fails #9826

@stevencl840

Description

@stevencl840

Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your feature request, making sure it's handled appropriately.

Prerequisites

  • I have searched open and closed issues to make sure it isn't already requested
  • My team has started working on this issue
  • I have written a descriptive issue title

The enhancement

The Need

When a push fails for a pre-receive hook, the error status is returned, eg, "pre-receive hook failed on refs/heads/main"
This does not provide any of the output of the hook that can be used to understand why the push failed. The remote messages from the Git server can be captured and returned to the user to allow them to determine the cause of the failure

Solution

The change captures the remote Git messages from the server and appends them to the error status, providing the user with more information about why a push failed.

Screenshots and Mockups

Links

Metadata

Metadata

Assignees

Labels

kind/enhancementThis issue represents an enhancement we are committed to adding to Octopus as some time

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions