@@ -89,13 +89,15 @@ func ConvertPipelines(taskCtx plugin.SubTaskContext) errors.Error {
8989 },
9090 Name : fmt .Sprintf ("%s/%d" , domainEntityId , bitbucketPipeline .BuildNumber ),
9191 Result : devops .GetResult (& devops.ResultRule {
92- Success : []string {models .SUCCESSFUL , models .COMPLETED , models .PASSED },
93- Failure : []string {models .FAILED , models .ERROR , models .STOPPED , models .ERROR },
94- Default : devops .RESULT_DEFAULT ,
92+ Success : []string {models .SUCCESSFUL , models .COMPLETED , models .PASSED },
93+ Failure : []string {models .FAILED , models .ERROR , models .STOPPED },
94+ Canceled : []string {models .CANCELLED },
95+ Skipped : []string {models .SKIPPED },
96+ Default : devops .RESULT_DEFAULT ,
9597 }, bitbucketPipeline .Result ),
9698 OriginalResult : bitbucketPipeline .Result ,
9799 Status : devops .GetStatus (& devops.StatusRule {
98- Done : []string {models .COMPLETED , models .SUCCESSFUL , models .PASSED , models .FAILED , models .ERROR , models .STOPPED , models .HALTED },
100+ Done : []string {models .COMPLETED , models .SUCCESSFUL , models .PASSED , models .FAILED , models .ERROR , models .STOPPED , models .HALTED , models . CANCELLED , models . SKIPPED },
99101 InProgress : []string {models .IN_PROGRESS , models .PENDING , models .RUNNING , models .PAUSED , models .BUILDING },
100102 Default : devops .STATUS_OTHER ,
101103 }, bitbucketPipeline .Status ),
0 commit comments