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/09/20 11:07:14 UTC
(incubator-devlake) branch feat-dora-config updated: fix: bitbucket sql (#8085)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch feat-dora-config
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/feat-dora-config by this push:
new bdcb607ae fix: bitbucket sql (#8085)
bdcb607ae is described below
commit bdcb607ae44c5c6ab4e9a9f6bc975930a708de4b
Author: abeizn <zi...@merico.dev>
AuthorDate: Fri Sep 20 19:07:10 2024 +0800
fix: bitbucket sql (#8085)
---
backend/plugins/bitbucket/api/connection_api.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/plugins/bitbucket/api/connection_api.go b/backend/plugins/bitbucket/api/connection_api.go
index 07c04c35a..a26a48be9 100644
--- a/backend/plugins/bitbucket/api/connection_api.go
+++ b/backend/plugins/bitbucket/api/connection_api.go
@@ -211,7 +211,7 @@ func GetConnectionTransformToDeployments(input *plugin.ApiResourceInput) (*plugi
SELECT build_number, ref_name, p.repo_id, web_url,bitbucket_created_on
FROM _tool_bitbucket_pipelines p
LEFT JOIN _tool_bitbucket_pipeline_steps s on s.pipeline_id = p.bitbucket_id
- WHERE s.connection_id = ? AND
+ WHERE s.connection_id = ?
AND (s.name REGEXP ?)
AND (? = '' OR s.name REGEXP ?)
) AS t