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 2023/11/09 01:46:20 UTC

(incubator-devlake) branch main updated: test(bitbucket): add status and result tests in e2e (#6421)

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 07b91beb3 test(bitbucket): add status and result tests in e2e (#6421)
07b91beb3 is described below

commit 07b91beb361af801eb92e392c29e3e332a3f5c32
Author: Lynwee <li...@merico.dev>
AuthorDate: Thu Nov 9 09:46:15 2023 +0800

    test(bitbucket): add status and result tests in e2e (#6421)
    
    * test(bitbucket): add status and result tests in e2e
    
    * test(bitbucket): fix e2e test on github ci
    
    * test(bitbucket): fix e2e test on ci
    
    * test(bitbucket): fix e2e test
    
    * test(bitbucket): fix e2e test
    
    * test(bitbucket): fix e2e test
    
    * test(bitbucket): fix e2e test
---
 backend/plugins/bitbucket/e2e/deployments_test.go  | 38 ++++++++++++++++++++--
 backend/plugins/bitbucket/e2e/pipelines_test.go    |  1 +
 .../raw_tables/_raw_bitbucket_api_deployments.csv  | 10 ++++++
 .../_raw_bitbucket_api_pipeline_steps.csv          | 10 ++++++
 .../raw_tables/_raw_bitbucket_api_pipelines.csv    | 14 +++++++-
 .../_tool_bitbucket_deployments.csv                | 10 ++++++
 ..._tool_bitbucket_deployments_for_deployment.csv} | 10 ++++++
 .../_tool_bitbucket_pipeline_steps.csv             | 10 ++++++
 .../snapshot_tables/_tool_bitbucket_pipelines.csv  | 34 ++++++++++++-------
 .../_tool_bitbucket_pipelines_for_deployment.csv   | 23 +++++++++++++
 .../_tool_bitbucket_repos_for_deployment.csv       |  2 ++
 .../cicd_deployment_commits_for_deployment.csv     | 28 ++++++++++++++++
 .../cicd_deployments_for_deployment.csv            | 28 ++++++++++++++++
 .../e2e/snapshot_tables/cicd_pipelines.csv         | 12 +++++++
 .../bitbucket/e2e/snapshot_tables/cicd_tasks.csv   | 10 ++++++
 .../bitbucket/tasks/deployment_convertor.go        |  2 +-
 .../plugins/bitbucket/tasks/pipeline_extractor.go  |  1 -
 17 files changed, 226 insertions(+), 17 deletions(-)

diff --git a/backend/plugins/bitbucket/e2e/deployments_test.go b/backend/plugins/bitbucket/e2e/deployments_test.go
index 27b131b14..70795f019 100644
--- a/backend/plugins/bitbucket/e2e/deployments_test.go
+++ b/backend/plugins/bitbucket/e2e/deployments_test.go
@@ -18,6 +18,7 @@ limitations under the License.
 package e2e
 
 import (
+	"github.com/apache/incubator-devlake/core/models/domainlayer/devops"
 	"testing"
 
 	"github.com/apache/incubator-devlake/helpers/e2ehelper"
@@ -40,16 +41,14 @@ func TestDeloymentsDataFlow(t *testing.T) {
 			},
 		},
 	}
-
 	// import raw data table
 	dataflowTester.ImportCsvIntoRawTable("./raw_tables/_raw_bitbucket_api_deployments.csv", "_raw_bitbucket_api_deployments")
-
 	dataflowTester.FlushTabler(&models.BitbucketDeployment{})
 	// verify extraction
 	dataflowTester.Subtask(tasks.ExtractApiDeploymentsMeta, taskData)
 	dataflowTester.VerifyTable(
 		models.BitbucketDeployment{},
-		"./snapshot_tables/_tool_bitbucket_deployments.csv",
+		"./snapshot_tables/_tool_bitbucket_deployments_for_deployment.csv",
 		e2ehelper.ColumnWithRawData(
 			"connection_id",
 			"bitbucket_id",
@@ -71,4 +70,37 @@ func TestDeloymentsDataFlow(t *testing.T) {
 			//"key",
 		),
 	)
+
+	// verify conversion
+	dataflowTester.FlushTabler(&models.BitbucketRepo{})
+	dataflowTester.FlushTabler(&models.BitbucketPipeline{})
+	dataflowTester.FlushTabler(&models.BitbucketDeployment{})
+	dataflowTester.ImportCsvIntoTabler("./snapshot_tables/_tool_bitbucket_repos_for_deployment.csv", &models.BitbucketRepo{})
+	dataflowTester.ImportCsvIntoTabler("./snapshot_tables/_tool_bitbucket_pipelines_for_deployment.csv", &models.BitbucketPipeline{})
+	dataflowTester.ImportCsvIntoTabler("./snapshot_tables/_tool_bitbucket_deployments_for_deployment.csv", &models.BitbucketDeployment{})
+	dataflowTester.FlushTabler(&devops.CicdDeploymentCommit{})
+	dataflowTester.FlushTabler(&devops.CICDDeployment{})
+	dataflowTester.Subtask(tasks.ConvertiDeploymentMeta, taskData)
+	dataflowTester.VerifyTable(
+		devops.CicdDeploymentCommit{},
+		"./snapshot_tables/cicd_deployment_commits_for_deployment.csv",
+		[]string{
+			"id",
+			"name",
+			"result",
+			"status",
+			"environment",
+		},
+	)
+	dataflowTester.VerifyTable(
+		devops.CICDDeployment{},
+		"./snapshot_tables/cicd_deployments_for_deployment.csv",
+		[]string{
+			"id",
+			"name",
+			"result",
+			"status",
+			"environment",
+		},
+	)
 }
diff --git a/backend/plugins/bitbucket/e2e/pipelines_test.go b/backend/plugins/bitbucket/e2e/pipelines_test.go
index d253e8815..05b984be4 100644
--- a/backend/plugins/bitbucket/e2e/pipelines_test.go
+++ b/backend/plugins/bitbucket/e2e/pipelines_test.go
@@ -62,6 +62,7 @@ func TestBitbucketPipelineDataFlow(t *testing.T) {
 			"web_url",
 			"duration_in_seconds",
 			"type",
+			"repo_id",
 			"environment",
 			"_raw_data_params",
 			"_raw_data_table",
diff --git a/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_deployments.csv b/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_deployments.csv
index cf5b247c9..22d6a9415 100644
--- a/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_deployments.csv
+++ b/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_deployments.csv
@@ -16,3 +16,13 @@
 292,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{af164a42-447c-5a7b-87fd-17f183075e60}"", ""step"": {""uuid"": ""{c596152f-6c3e-45db-a841-f8d312366cb1}""}, ""environment"": {""name"": ""Test"", ""environment_type"": {""name"": ""Test""}}, ""release"": {""pipeline"": {""uuid"": ""{02c4dfe8-70a6-442c-8bd8-19061979c2cf}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{02c4dfe8-70a6-442c-8bd8-19061979c2cf}"", ""name"": ""#12"", ""url"": ""h [...]
 300,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{6b258aea-b249-5b1e-bab9-0bb02d0147bc}"", ""step"": {""uuid"": ""{caf86c6c-c60a-4e62-b838-6480ad110182}""}, ""environment"": {""name"": ""Test"", ""environment_type"": {""name"": ""Test""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", ""url"": ""ht [...]
 322,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4b58}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd3ef}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", " [...]
+10001,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4101}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd101}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10002,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4102}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd102}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10003,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4103}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd103}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10004,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4104}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd104}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10005,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4105}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd104}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10006,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4106}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd105}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10007,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4107}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd106}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10008,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4108}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd106}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10009,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4109}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd106}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
+10010,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""deployment"", ""uuid"": ""{5c6b00c4-a848-5db6-b9e1-3912631d4110}"", ""step"": {""uuid"": ""{263500ac-4242-4996-95bd-739b5cafd106}""}, ""environment"": {""name"": ""Production"", ""environment_type"": {""name"": ""Production""}}, ""release"": {""pipeline"": {""uuid"": ""{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""type"": ""pipeline""}, ""key"": ""pipelines-{1e20072e-b22a-443f-ad92-3d9435393d5b}"", ""name"": ""#7"", [...]
diff --git a/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipeline_steps.csv b/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipeline_steps.csv
index d19eb0140..3a628827f 100644
--- a/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipeline_steps.csv
+++ b/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipeline_steps.csv
@@ -24,3 +24,13 @@
 631,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{e4753fd7-469e-4d15-a689-0fd882fee2d4}"", ""name"": ""Test"", ""trigger"": {""type"": ""pipeline_step_trigger_redeploy""}, ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""SUCCESSFUL""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:17:33.116483Z"", ""completed_on"": ""2023-02-20T09:17:37.835346Z"", " [...]
 632,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{61e34fbf-87a2-4271-827e-b336ff4c4396}"", ""name"": ""staging"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""SUCCESSFUL""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:15:45.450035Z"", ""completed_on"": ""2023-02-20T09:15:50.60904Z"" [...]
 633,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea80121c}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""SUCCESSFUL""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z [...]
+10001,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801101}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""COMPLETED""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531 [...]
+10002,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801102}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""SUCCESSFUL"", ""result"": {""name"": ""SUCCESSFUL""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.885 [...]
+10003,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801103}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""FAILED"", ""result"": {""name"": ""FAILED""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", " [...]
+10004,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801104}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""ERROR"", ""result"": {""name"": ""ERROR""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", ""d [...]
+10005,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801105}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""STOPPED"", ""result"": {""name"": ""STOPPED""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", [...]
+10006,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801106}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""IN_PROGRESS"", ""result"": {""name"": ""IN_PROGRESS""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.8 [...]
+10007,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801107}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""PENDING"", ""result"": {""name"": ""PENDING""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", [...]
+10008,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801108}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""READY"", ""result"": {""name"": ""READY""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", ""d [...]
+10009,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801109}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""NOT_RUN"", ""result"": {""name"": ""NOT_RUN""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", [...]
+10010,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline_step"", ""pipeline"": {""uuid"": ""{d7bf8394-6e18-42c4-b3a3-70514fc4079f}""}, ""uuid"": ""{c2da4b2d-f971-4c5f-90b7-1c55ea801110}"", ""name"": ""production"", ""trigger"": {""type"": ""pipeline_step_trigger_automatic""}, ""state"": {""name"": ""EXPIRED"", ""result"": {""name"": ""EXPIRED""}}, ""maxTime"": 120, ""started_on"": ""2023-02-20T09:16:01.88617Z"", ""completed_on"": ""2023-02-20T09:16:09.88531Z"", [...]
\ No newline at end of file
diff --git a/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipelines.csv b/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipelines.csv
index 743190cd6..0638dc4c5 100644
--- a/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipelines.csv
+++ b/backend/plugins/bitbucket/e2e/raw_tables/_raw_bitbucket_api_pipelines.csv
@@ -8,4 +8,16 @@
 14,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{b5d2ab02-2013-415e-b146-61ff3bf19502}"", ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""STOPPED"", ""type"": ""pipeline_state_completed_stopped""}}, ""created_on"": ""2023-02-20T09:23:38.973336Z"", ""completed_on"": ""2023-02-20T09:23:41.030214Z"", ""target"": {""ref_name"": ""pipeline"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_secon [...]
 178,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446}"", ""state"": {""name"": ""IN_PROGRESS"", ""stage"": {""name"": ""HALTED"", ""type"": ""pipeline_state_in_progress_halted""}}, ""created_on"": ""2023-02-20T09:29:44.212981Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_seconds"": 0, ""links"": {""self"": {""href"": ""http [...]
 205,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{8b417a17-72e6-4e16-ae4a-97f6e279f68e}"", ""state"": {""name"": ""IN_PROGRESS"", ""stage"": {""name"": ""HALTED"", ""type"": ""pipeline_state_in_progress_halted""}}, ""created_on"": ""2023-02-20T09:36:16.085648Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_seconds"": 0, ""links"": {""self"": {""href"": ""http [...]
-232,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c51}"", ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""SUCCESSFUL"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_ [...]
+232,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c50}"", ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""SUCCESSFUL"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_ [...]
+10001,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c51}"", ""state"": {""name"": ""COMPLETED"", ""result"": {""name"": ""COMPLETED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration [...]
+10002,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c52}"", ""state"": {""name"": ""SUCCESSFUL"", ""result"": {""name"": ""SUCCESSFUL"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""durati [...]
+10003,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c53}"", ""state"": {""name"": ""PASSED"", ""result"": {""name"": ""PASSED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_se [...]
+10004,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c54}"", ""state"": {""name"": ""FAILED"", ""result"": {""name"": ""FAILED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_se [...]
+10005,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c55}"", ""state"": {""name"": ""ERROR"", ""result"": {""name"": ""ERROR"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_seco [...]
+10006,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c56}"", ""state"": {""name"": ""STOPPED"", ""result"": {""name"": ""STOPPED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_ [...]
+10007,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c57}"", ""state"": {""name"": ""HALTED"", ""result"": {""name"": ""HALTED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_se [...]
+10008,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c58}"", ""state"": {""name"": ""IN_PROGRESS"", ""result"": {""name"": ""IN_PROGRESS"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""dura [...]
+10009,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c59}"", ""state"": {""name"": ""PAUSED"", ""result"": {""name"": ""PAUSED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_se [...]
+10010,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c60}"", ""state"": {""name"": ""RUNNING"", ""result"": {""name"": ""RUNNING"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_ [...]
+10011,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c61}"", ""state"": {""name"": ""PENDING"", ""result"": {""name"": ""PENDING"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_ [...]
+10012,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}","{""type"": ""pipeline"", ""uuid"": ""{5decbbb2-f4e6-4f3a-aab0-f74c40497c62}"", ""state"": {""name"": ""EXPIRED"", ""result"": {""name"": ""EXPIRED"", ""type"": ""pipeline_state_completed_successful""}}, ""created_on"": ""2023-02-20T09:38:17.265164Z"", ""completed_on"": ""2023-02-20T09:39:09.395769Z"", ""target"": {""ref_name"": ""0.5-alpha"", ""commit"": {""hash"": ""ca4302e0e56c89332711e1b1051ab2f0110d4412""}}, ""duration_in_ [...]
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv
index 213005f22..819af855c 100644
--- a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv
@@ -5,6 +5,16 @@ connection_id,bitbucket_id,pipeline_id,step_id,type,name,environment,environment
 1,{3014535b-b9f9-5501-a493-39f0457f02df},{01fad871-cd21-4a80-bd59-74148dd5be8e},{d464ab91-8b50-4ad5-8c22-d2a6d1ca5d22},deployment,#1,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/1,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/1/steps/%7Bd464ab91-8b50-4ad5-8c22-d2a6d1ca5d22%7D,2b1cd7db35f3cf67d6d124e08b13272a1901707a,https://bitbucket.org/likyh/likyhphp/commits/2b1cd7db35f3cf67d6d124e08b13272a1901707a,2023-02-20T08:58:19.373 [...]
 1,{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},{b5d2ab02-2013-415e-b146-61ff3bf19502},{ac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8},deployment,#14,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/14,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/14/steps/%7Bac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8%7D,ca4302e0e56c89332711e1b1051ab2f0110d4412,https://bitbucket.org/likyh/likyhphp/commits/ca4302e0e56c89332711e1b1051ab2f0110d4412,2023-02-20T09:23:39. [...]
 1,{3ded5ffb-d61b-509d-bbdc-788806431302},{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},{0fa0137f-e029-459e-8760-289ed9e6b57d},deployment,#186,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186/steps/%7B0fa0137f-e029-459e-8760-289ed9e6b57d%7D,ca4302e0e56c89332711e1b1051ab2f0110d4412,https://bitbucket.org/likyh/likyhphp/commits/ca4302e0e56c89332711e1b1051ab2f0110d4412,2023-02-20T09:38: [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4101},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd101},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4102},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd102},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,SUCCESSFUL,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4103},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd103},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,FAILED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09: [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4104},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd104},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,STOPPED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4105},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd104},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,CANCELLED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4106},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd105},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,IN_PROGRESS,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-2 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4107},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,UNDEPLOYED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4108},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,PENDING,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4109},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,ROLLED_BACK,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-2 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4110},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,UNKNOWN,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09 [...]
 1,{5c6b00c4-a848-5db6-b9e1-3912631d4b58},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd3ef},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T [...]
 1,{6b258aea-b249-5b1e-bab9-0bb02d0147bc},{1e20072e-b22a-443f-ad92-3d9435393d5b},{caf86c6c-c60a-4e62-b838-6480ad110182},deployment,#7,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7Bcaf86c6c-c60a-4e62-b838-6480ad110182%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09:11:31.136 [...]
 1,{6dca96ac-bd01-56a9-b681-919804eb8e18},{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},{0706054d-bde3-4d27-af26-8ff9bc675e6c},deployment,#186,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186/steps/%7B0706054d-bde3-4d27-af26-8ff9bc675e6c%7D,ca4302e0e56c89332711e1b1051ab2f0110d4412,https://bitbucket.org/likyh/likyhphp/commits/ca4302e0e56c89332711e1b1051ab2f0110d4412,2023- [...]
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments_for_deployment.csv
similarity index 61%
copy from backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv
copy to backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments_for_deployment.csv
index 213005f22..819af855c 100644
--- a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments.csv
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_deployments_for_deployment.csv
@@ -5,6 +5,16 @@ connection_id,bitbucket_id,pipeline_id,step_id,type,name,environment,environment
 1,{3014535b-b9f9-5501-a493-39f0457f02df},{01fad871-cd21-4a80-bd59-74148dd5be8e},{d464ab91-8b50-4ad5-8c22-d2a6d1ca5d22},deployment,#1,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/1,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/1/steps/%7Bd464ab91-8b50-4ad5-8c22-d2a6d1ca5d22%7D,2b1cd7db35f3cf67d6d124e08b13272a1901707a,https://bitbucket.org/likyh/likyhphp/commits/2b1cd7db35f3cf67d6d124e08b13272a1901707a,2023-02-20T08:58:19.373 [...]
 1,{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},{b5d2ab02-2013-415e-b146-61ff3bf19502},{ac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8},deployment,#14,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/14,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/14/steps/%7Bac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8%7D,ca4302e0e56c89332711e1b1051ab2f0110d4412,https://bitbucket.org/likyh/likyhphp/commits/ca4302e0e56c89332711e1b1051ab2f0110d4412,2023-02-20T09:23:39. [...]
 1,{3ded5ffb-d61b-509d-bbdc-788806431302},{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},{0fa0137f-e029-459e-8760-289ed9e6b57d},deployment,#186,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186/steps/%7B0fa0137f-e029-459e-8760-289ed9e6b57d%7D,ca4302e0e56c89332711e1b1051ab2f0110d4412,https://bitbucket.org/likyh/likyhphp/commits/ca4302e0e56c89332711e1b1051ab2f0110d4412,2023-02-20T09:38: [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4101},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd101},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4102},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd102},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,SUCCESSFUL,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4103},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd103},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,FAILED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09: [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4104},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd104},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,STOPPED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4105},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd104},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,CANCELLED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4106},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd105},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,IN_PROGRESS,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-2 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4107},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,UNDEPLOYED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4108},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,PENDING,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4109},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,ROLLED_BACK,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-2 [...]
+1,{5c6b00c4-a848-5db6-b9e1-3912631d4110},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd106},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,UNKNOWN,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09 [...]
 1,{5c6b00c4-a848-5db6-b9e1-3912631d4b58},{1e20072e-b22a-443f-ad92-3d9435393d5b},{263500ac-4242-4996-95bd-739b5cafd3ef},deployment,#7,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7B263500ac-4242-4996-95bd-739b5cafd3ef%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T [...]
 1,{6b258aea-b249-5b1e-bab9-0bb02d0147bc},{1e20072e-b22a-443f-ad92-3d9435393d5b},{caf86c6c-c60a-4e62-b838-6480ad110182},deployment,#7,Test,Test,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/7/steps/%7Bcaf86c6c-c60a-4e62-b838-6480ad110182%7D,83ed48081d1fad9dbd60948cfe9661f67aac2694,https://bitbucket.org/likyh/likyhphp/commits/83ed48081d1fad9dbd60948cfe9661f67aac2694,2023-02-20T09:11:31.136 [...]
 1,{6dca96ac-bd01-56a9-b681-919804eb8e18},{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},{0706054d-bde3-4d27-af26-8ff9bc675e6c},deployment,#186,Production,Production,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186,COMPLETED,https://bitbucket.org/likyh/likyhphp/addon/pipelines/home#!/results/186/steps/%7B0706054d-bde3-4d27-af26-8ff9bc675e6c%7D,ca4302e0e56c89332711e1b1051ab2f0110d4412,https://bitbucket.org/likyh/likyhphp/commits/ca4302e0e56c89332711e1b1051ab2f0110d4412,2023- [...]
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipeline_steps.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipeline_steps.csv
index b5aa2f3e3..3f8151019 100644
--- a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipeline_steps.csv
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipeline_steps.csv
@@ -14,6 +14,16 @@ connection_id,bitbucket_id,pipeline_id,repo_id,name,state,max_time,started_on,co
 1,{9b079475-6fed-40bb-b591-711351c12f71},{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},likyh/likyhphp,Test,COMPLETED,120,2023-02-20T09:23:31.978+00:00,2023-02-20T09:23:36.923+00:00,5,4,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,143,
 1,{a72dea81-cd04-45db-8af9-958ed814d050},{1e20072e-b22a-443f-ad92-3d9435393d5b},likyh/likyhphp,Test,COMPLETED,120,2023-02-20T09:12:04.411+00:00,2023-02-20T09:12:10.347+00:00,6,5,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,90,
 1,{ac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8},{b5d2ab02-2013-415e-b146-61ff3bf19502},likyh/likyhphp,Test,COMPLETED,120,2023-02-20T09:23:40.750+00:00,2023-02-20T09:23:40.750+00:00,0,0,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,531,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801101},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,COMPLETED,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10001,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801102},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,SUCCESSFUL,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10002,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801103},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,FAILED,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10003,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801104},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,ERROR,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10004,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801105},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,STOPPED,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10005,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801106},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,IN_PROGRESS,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10006,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801107},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,PENDING,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10007,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801108},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,READY,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10008,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801109},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,NOT_RUN,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10009,
+1,{c2da4b2d-f971-4c5f-90b7-1c55ea801110},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,EXPIRED,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10010,
 1,{c2da4b2d-f971-4c5f-90b7-1c55ea80121c},{d7bf8394-6e18-42c4-b3a3-70514fc4079f},likyh/likyhphp,production,COMPLETED,120,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,8,7,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,633,
 1,{c596152f-6c3e-45db-a841-f8d312366cb1},{02c4dfe8-70a6-442c-8bd8-19061979c2cf},likyh/likyhphp,Test,PENDING,120,,,0,0,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,11,
 1,{caf86c6c-c60a-4e62-b838-6480ad110182},{1e20072e-b22a-443f-ad92-3d9435393d5b},likyh/likyhphp,Test,COMPLETED,120,2023-02-20T09:11:43.393+00:00,2023-02-20T09:11:53.145+00:00,10,9,1,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,89,
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines.csv
index 01b81476c..200c17b1b 100644
--- a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines.csv
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines.csv
@@ -1,11 +1,23 @@
-connection_id,bitbucket_id,status,result,ref_name,web_url,duration_in_seconds,type,environment,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
-1,{01fad871-cd21-4a80-bd59-74148dd5be8e},COMPLETED,FAILED,main,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{01fad871-cd21-4a80-bd59-74148dd5be8e},14,DEPLOYMENT,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,1,
-1,{02c4dfe8-70a6-442c-8bd8-19061979c2cf},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{02c4dfe8-70a6-442c-8bd8-19061979c2cf},0,,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,12,
-1,{1e20072e-b22a-443f-ad92-3d9435393d5b},COMPLETED,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{1e20072e-b22a-443f-ad92-3d9435393d5b},21,,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,7,
-1,{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},COMPLETED,SUCCESSFUL,main,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},16,DEPLOYMENT,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,11,
-1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},COMPLETED,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,232,
-1,{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},0,,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,178,
-1,{8b417a17-72e6-4e16-ae4a-97f6e279f68e},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{8b417a17-72e6-4e16-ae4a-97f6e279f68e},0,,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,205,
-1,{b5d2ab02-2013-415e-b146-61ff3bf19502},COMPLETED,STOPPED,pipeline,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{b5d2ab02-2013-415e-b146-61ff3bf19502},0,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,14,
-1,{d7bf8394-6e18-42c4-b3a3-70514fc4079f},COMPLETED,SUCCESSFUL,pipeline,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{d7bf8394-6e18-42c4-b3a3-70514fc4079f},18,,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10,
-1,{ee91b6d3-7736-482c-892f-ad1e923d145e},COMPLETED,FAILED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{ee91b6d3-7736-482c-892f-ad1e923d145e},0,,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,6,
+connection_id,bitbucket_id,status,result,ref_name,web_url,duration_in_seconds,type,repo_id,environment,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
+1,{01fad871-cd21-4a80-bd59-74148dd5be8e},COMPLETED,FAILED,main,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{01fad871-cd21-4a80-bd59-74148dd5be8e},14,DEPLOYMENT,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,1,
+1,{02c4dfe8-70a6-442c-8bd8-19061979c2cf},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{02c4dfe8-70a6-442c-8bd8-19061979c2cf},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,12,
+1,{1e20072e-b22a-443f-ad92-3d9435393d5b},COMPLETED,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{1e20072e-b22a-443f-ad92-3d9435393d5b},21,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,7,
+1,{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},COMPLETED,SUCCESSFUL,main,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},16,DEPLOYMENT,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,11,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c50},COMPLETED,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,232,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},COMPLETED,COMPLETED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10001,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c52},SUCCESSFUL,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10002,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c53},PASSED,PASSED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10003,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c54},FAILED,FAILED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10004,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c55},ERROR,ERROR,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10005,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c56},STOPPED,STOPPED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10006,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c57},HALTED,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10007,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c58},IN_PROGRESS,IN_PROGRESS,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10008,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c59},PAUSED,PAUSED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10009,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c60},RUNNING,RUNNING,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10010,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c61},PENDING,PENDING,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10011,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c62},EXPIRED,EXPIRED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10012,
+1,{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,178,
+1,{8b417a17-72e6-4e16-ae4a-97f6e279f68e},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{8b417a17-72e6-4e16-ae4a-97f6e279f68e},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,205,
+1,{b5d2ab02-2013-415e-b146-61ff3bf19502},COMPLETED,STOPPED,pipeline,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{b5d2ab02-2013-415e-b146-61ff3bf19502},0,,likyh/likyhphp,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,14,
+1,{d7bf8394-6e18-42c4-b3a3-70514fc4079f},COMPLETED,SUCCESSFUL,pipeline,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{d7bf8394-6e18-42c4-b3a3-70514fc4079f},18,,likyh/likyhphp,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10,
+1,{ee91b6d3-7736-482c-892f-ad1e923d145e},COMPLETED,FAILED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{ee91b6d3-7736-482c-892f-ad1e923d145e},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,6,
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines_for_deployment.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines_for_deployment.csv
new file mode 100644
index 000000000..200c17b1b
--- /dev/null
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_pipelines_for_deployment.csv
@@ -0,0 +1,23 @@
+connection_id,bitbucket_id,status,result,ref_name,web_url,duration_in_seconds,type,repo_id,environment,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
+1,{01fad871-cd21-4a80-bd59-74148dd5be8e},COMPLETED,FAILED,main,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{01fad871-cd21-4a80-bd59-74148dd5be8e},14,DEPLOYMENT,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,1,
+1,{02c4dfe8-70a6-442c-8bd8-19061979c2cf},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{02c4dfe8-70a6-442c-8bd8-19061979c2cf},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,12,
+1,{1e20072e-b22a-443f-ad92-3d9435393d5b},COMPLETED,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{1e20072e-b22a-443f-ad92-3d9435393d5b},21,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,7,
+1,{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},COMPLETED,SUCCESSFUL,main,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},16,DEPLOYMENT,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,11,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c50},COMPLETED,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,232,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},COMPLETED,COMPLETED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10001,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c52},SUCCESSFUL,SUCCESSFUL,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10002,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c53},PASSED,PASSED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10003,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c54},FAILED,FAILED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10004,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c55},ERROR,ERROR,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10005,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c56},STOPPED,STOPPED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10006,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c57},HALTED,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10007,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c58},IN_PROGRESS,IN_PROGRESS,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10008,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c59},PAUSED,PAUSED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10009,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c60},RUNNING,RUNNING,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10010,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c61},PENDING,PENDING,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10011,
+1,{5decbbb2-f4e6-4f3a-aab0-f74c40497c62},EXPIRED,EXPIRED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},15,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10012,
+1,{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,178,
+1,{8b417a17-72e6-4e16-ae4a-97f6e279f68e},IN_PROGRESS,HALTED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{8b417a17-72e6-4e16-ae4a-97f6e279f68e},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,205,
+1,{b5d2ab02-2013-415e-b146-61ff3bf19502},COMPLETED,STOPPED,pipeline,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{b5d2ab02-2013-415e-b146-61ff3bf19502},0,,likyh/likyhphp,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,14,
+1,{d7bf8394-6e18-42c4-b3a3-70514fc4079f},COMPLETED,SUCCESSFUL,pipeline,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{d7bf8394-6e18-42c4-b3a3-70514fc4079f},18,,likyh/likyhphp,PRODUCTION,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,10,
+1,{ee91b6d3-7736-482c-892f-ad1e923d145e},COMPLETED,FAILED,0.5-alpha,http://bitbucket-pipelines.prod.public.atl-paas.net//rest/1.0/accounts/{33cb24c9-0d0a-420d-b664-9466339c27fa}/repositories/{9988e380-f77d-40f0-974f-626252e7b941}/pipelines/{ee91b6d3-7736-482c-892f-ad1e923d145e},0,,likyh/likyhphp,,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipelines,6,
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_repos_for_deployment.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_repos_for_deployment.csv
new file mode 100644
index 000000000..39373bc51
--- /dev/null
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/_tool_bitbucket_repos_for_deployment.csv
@@ -0,0 +1,2 @@
+connection_id,bitbucket_id,name,html_url,description,owner,language,clone_url,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark
+1,likyh/likyhphp,likyhphp,https://bitbucket.org/likyh/likyhphp,,teoiaoe,,https://likyh@bitbucket.org/likyh/likyhphp.git,,,0,
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv
new file mode 100644
index 000000000..0e6ab37ff
--- /dev/null
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv
@@ -0,0 +1,28 @@
+id,commit_sha,name,result,status,environment
+bitbucket:BitbucketDeployment:1:{05a3cd4a-19ed-55fd-9eb4-aed34804dd04},ca4302e0e56c89332711e1b1051ab2f0110d4412,#159,,OTHER,TESTING
+bitbucket:BitbucketDeployment:1:{07d9246c-d007-5a4e-ad67-539881a7324d},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,STAGING
+bitbucket:BitbucketDeployment:1:{10b54621-1ead-5a74-9e2a-4425eaf0351a},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,STAGING
+bitbucket:BitbucketDeployment:1:{3014535b-b9f9-5501-a493-39f0457f02df},2b1cd7db35f3cf67d6d124e08b13272a1901707a,#1,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},ca4302e0e56c89332711e1b1051ab2f0110d4412,#14,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{3ded5ffb-d61b-509d-bbdc-788806431302},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4101},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4102},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4103},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4104},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4105},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4106},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,IN_PROGRESS,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4107},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4108},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4109},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4110},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4b58},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{6b258aea-b249-5b1e-bab9-0bb02d0147bc},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{6dca96ac-bd01-56a9-b681-919804eb8e18},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{7a0bacf1-5549-54f2-9145-4cdc04ae13a7},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{905984df-e8ce-55bb-96c6-bc46dcb534b5},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{94bea09b-3516-5c76-bad5-dec47e9a4bd7},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,STAGING
+bitbucket:BitbucketDeployment:1:{af164a42-447c-5a7b-87fd-17f183075e60},ca4302e0e56c89332711e1b1051ab2f0110d4412,#12,,OTHER,TESTING
+bitbucket:BitbucketDeployment:1:{bcfe3b1b-71d6-5fb2-81d6-64e44d6c7b38},ca4302e0e56c89332711e1b1051ab2f0110d4412,#82,,OTHER,TESTING
+bitbucket:BitbucketDeployment:1:{c2958023-2f97-578a-b90c-236d453656e0},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{e31cee73-dc73-5c75-a60a-c286fa629691},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{fcb46cbc-8733-5264-b362-c05a8f9eb2f8},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,STAGING
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv
new file mode 100644
index 000000000..c0a3bafb7
--- /dev/null
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv
@@ -0,0 +1,28 @@
+id,name,result,status,environment
+bitbucket:BitbucketDeployment:1:{05a3cd4a-19ed-55fd-9eb4-aed34804dd04},#159,,OTHER,TESTING
+bitbucket:BitbucketDeployment:1:{07d9246c-d007-5a4e-ad67-539881a7324d},#10,SUCCESS,DONE,STAGING
+bitbucket:BitbucketDeployment:1:{10b54621-1ead-5a74-9e2a-4425eaf0351a},#7,SUCCESS,DONE,STAGING
+bitbucket:BitbucketDeployment:1:{3014535b-b9f9-5501-a493-39f0457f02df},#1,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},#14,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{3ded5ffb-d61b-509d-bbdc-788806431302},#186,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4101},#7,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4102},#7,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4103},#7,FAILURE,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4104},#7,FAILURE,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4105},#7,FAILURE,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4106},#7,,IN_PROGRESS,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4107},#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4108},#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4109},#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4110},#7,,OTHER,PRODUCTION
+bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4b58},#7,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{6b258aea-b249-5b1e-bab9-0bb02d0147bc},#7,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{6dca96ac-bd01-56a9-b681-919804eb8e18},#186,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{7a0bacf1-5549-54f2-9145-4cdc04ae13a7},#11,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{905984df-e8ce-55bb-96c6-bc46dcb534b5},#11,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{94bea09b-3516-5c76-bad5-dec47e9a4bd7},#11,SUCCESS,DONE,STAGING
+bitbucket:BitbucketDeployment:1:{af164a42-447c-5a7b-87fd-17f183075e60},#12,,OTHER,TESTING
+bitbucket:BitbucketDeployment:1:{bcfe3b1b-71d6-5fb2-81d6-64e44d6c7b38},#82,,OTHER,TESTING
+bitbucket:BitbucketDeployment:1:{c2958023-2f97-578a-b90c-236d453656e0},#10,SUCCESS,DONE,TESTING
+bitbucket:BitbucketDeployment:1:{e31cee73-dc73-5c75-a60a-c286fa629691},#10,SUCCESS,DONE,PRODUCTION
+bitbucket:BitbucketDeployment:1:{fcb46cbc-8733-5264-b362-c05a8f9eb2f8},#186,SUCCESS,DONE,STAGING
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv
index dcf2852e6..1fe9516ea 100644
--- a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv
@@ -3,7 +3,19 @@ bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e},bitbucket:B
 bitbucket:BitbucketPipeline:1:{02c4dfe8-70a6-442c-8bd8-19061979c2cf},bitbucket:BitbucketPipeline:1:{02c4dfe8-70a6-442c-8bd8-19061979c2cf}/0,,IN_PROGRESS,,0,
 bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b}/0,SUCCESS,DONE,,21,
 bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166}/0,SUCCESS,DONE,DEPLOYMENT,16,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c50},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c50}/0,SUCCESS,DONE,,15,
 bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51}/0,SUCCESS,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c52},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c52}/0,SUCCESS,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c53},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c53}/0,SUCCESS,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c54},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c54}/0,FAILURE,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c55},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c55}/0,FAILURE,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c56},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c56}/0,FAILURE,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c57},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c57}/0,,DONE,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c58},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c58}/0,,IN_PROGRESS,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c59},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c59}/0,,IN_PROGRESS,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c60},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c60}/0,,IN_PROGRESS,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c61},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c61}/0,,IN_PROGRESS,,15,
+bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c62},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c62}/0,,OTHER,,15,
 bitbucket:BitbucketPipeline:1:{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},bitbucket:BitbucketPipeline:1:{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446}/0,,IN_PROGRESS,,0,
 bitbucket:BitbucketPipeline:1:{8b417a17-72e6-4e16-ae4a-97f6e279f68e},bitbucket:BitbucketPipeline:1:{8b417a17-72e6-4e16-ae4a-97f6e279f68e}/0,,IN_PROGRESS,,0,
 bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502}/0,FAILURE,DONE,,0,PRODUCTION
diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv
index c60d2d387..dfd21f7ed 100644
--- a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv
+++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv
@@ -11,6 +11,16 @@ bitbucket:BitbucketPipelineStep:1:{74ceee44-533a-489b-8d9b-3c9c0ef57ff3},product
 bitbucket:BitbucketPipelineStep:1:{9b079475-6fed-40bb-b591-711351c12f71},Test,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,,5,2023-02-20T09:23:31.978+00:00,2023-02-20T09:23:36.923+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,143,
 bitbucket:BitbucketPipelineStep:1:{a72dea81-cd04-45db-8af9-958ed814d050},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,,6,2023-02-20T09:12:04.411+00:00,2023-02-20T09:12:10.347+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,90,
 bitbucket:BitbucketPipelineStep:1:{ac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8},Test,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},FAILURE,DONE,,0,2023-02-20T09:23:40.750+00:00,2023-02-20T09:23:40.750+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,531,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801101},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10001,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801102},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10002,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801103},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10003,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801104},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10004,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801105},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10005,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801106},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10006,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801107},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10007,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801108},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10008,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801109},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,OTHER,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10009,
+bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801110},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,OTHER,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10010,
 bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea80121c},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,633,
 bitbucket:BitbucketPipelineStep:1:{caf86c6c-c60a-4e62-b838-6480ad110182},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,,10,2023-02-20T09:11:43.393+00:00,2023-02-20T09:11:53.145+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,89,
 bitbucket:BitbucketPipelineStep:1:{d464ab91-8b50-4ad5-8c22-d2a6d1ca5d22},Test,bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e},FAILURE,DONE,,14,2023-02-20T08:58:31.520+00:00,2023-02-20T08:58:45.945+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,1,
diff --git a/backend/plugins/bitbucket/tasks/deployment_convertor.go b/backend/plugins/bitbucket/tasks/deployment_convertor.go
index 43f69e277..da11e9dd7 100644
--- a/backend/plugins/bitbucket/tasks/deployment_convertor.go
+++ b/backend/plugins/bitbucket/tasks/deployment_convertor.go
@@ -92,7 +92,7 @@ func ConvertDeployments(taskCtx plugin.SubTaskContext) errors.Error {
 					Default: devops.RESULT_DEFAULT,
 				}, bitbucketDeployment.Status),
 				Status: devops.GetStatus(&devops.StatusRule{
-					Done:       []string{models.COMPLETED, models.SUCCESSFUL, models.FAILED, models.STOPPED},
+					Done:       []string{models.COMPLETED, models.SUCCESSFUL, models.FAILED, models.STOPPED, models.CANCELLED},
 					InProgress: []string{models.IN_PROGRESS},
 					Default:    devops.STATUS_OTHER,
 				}, bitbucketDeployment.Status),
diff --git a/backend/plugins/bitbucket/tasks/pipeline_extractor.go b/backend/plugins/bitbucket/tasks/pipeline_extractor.go
index 34322f15c..7cd4425f5 100644
--- a/backend/plugins/bitbucket/tasks/pipeline_extractor.go
+++ b/backend/plugins/bitbucket/tasks/pipeline_extractor.go
@@ -19,7 +19,6 @@ package tasks
 
 import (
 	"encoding/json"
-
 	"github.com/apache/incubator-devlake/core/errors"
 	"github.com/apache/incubator-devlake/core/models/common"
 	"github.com/apache/incubator-devlake/core/models/domainlayer/devops"