1
0
Fork 0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-04-26 13:34:45 +00:00

Add Git Ref To Build Status in BitbucketDatacenter ()

Co-authored-by: tal <tal@localhost>
This commit is contained in:
Levy-Tal 2025-01-23 15:11:09 +02:00 committed by GitHub
parent 58f26d1dbb
commit 983dfd1157
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -315,6 +315,7 @@ func (c *client) Status(ctx context.Context, u *model.User, repo *model.Repo, pi
URL: common.GetPipelineStatusURL(repo, pipeline, workflow),
Key: common.GetPipelineStatusContext(repo, pipeline, workflow),
Description: common.GetPipelineStatusDescription(pipeline.Status),
Ref: pipeline.Ref,
}
_, err = bc.Projects.CreateBuildStatus(ctx, repo.Owner, repo.Name, pipeline.Commit, status)
return err