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:06:51 UTC
(incubator-devlake) branch zk-0920-2 updated: fix: bitbucket sql
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch zk-0920-2
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/zk-0920-2 by this push:
new e5a2a9f6b fix: bitbucket sql
e5a2a9f6b is described below
commit e5a2a9f6be5ff739d075e317724c2755e0afb359
Author: abeizn <zi...@merico.dev>
AuthorDate: Fri Sep 20 19:06:41 2024 +0800
fix: bitbucket sql
---
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