You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2024/06/04 05:49:48 UTC
(incubator-devlake) branch main updated: fix: deployment result not working (#7566)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new bc246b1a8 fix: deployment result not working (#7566)
bc246b1a8 is described below
commit bc246b1a8298dda2662945b091d10d42f9dd17e0
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Tue Jun 4 13:49:42 2024 +0800
fix: deployment result not working (#7566)
---
backend/plugins/webhook/api/deployments.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/plugins/webhook/api/deployments.go b/backend/plugins/webhook/api/deployments.go
index c4c292956..70c90f9e2 100644
--- a/backend/plugins/webhook/api/deployments.go
+++ b/backend/plugins/webhook/api/deployments.go
@@ -213,6 +213,7 @@ func CreateDeploymentAndDeploymentCommits(connection *models.WebhookConnection,
deployment.CreatedDate = createdDate
deployment.StartedDate = request.StartedDate
deployment.FinishedDate = request.FinishedDate
+ deployment.Result = request.Result
if err := tx.CreateOrUpdate(deployment); err != nil {
logger.Error(err, "failed to save deployment")
return err