Skip to content

Commit

Permalink
chore: Debug missing status on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
langecode committed Feb 20, 2024
1 parent 2c6d1a8 commit eb277bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/forge/bitbucketdatacenter/bitbucketdatacenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ func (c *client) Status(ctx context.Context, u *model.User, repo *model.Repo, pi
Key: common.GetPipelineStatusContext(repo, pipeline, workflow),
Description: common.GetPipelineStatusDescription(pipeline.Status),
}
log.Info().Any("status", status).Msg("updating build status in Bitbucket...")

_, err = bc.Projects.CreateBuildStatus(ctx, repo.Owner, repo.Name, pipeline.Commit, status)
return err
}
Expand Down

0 comments on commit eb277bb

Please sign in to comment.