You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "klesh (via GitHub)" <gi...@apache.org> on 2023/04/27 03:06:21 UTC

[GitHub] [incubator-devlake] klesh commented on a diff in pull request #5044: cherry-pick: fix jenkins stage convertor error (#5003)

klesh commented on code in PR #5044:
URL: https://github.com/apache/incubator-devlake/pull/5044#discussion_r1178578665


##########
backend/plugins/dora/impl/impl_test.go:
##########
@@ -36,16 +37,30 @@ func TestMakeMetricPluginPipelinePlanV200(t *testing.T) {
 	assert.Nil(t, err)
 	plan, err := dora.MakeMetricPluginPipelinePlanV200(projectName, optionJson)
 	doraOutputPlan := plugin.PipelinePlan{
+		plugin.PipelineStage{
+			{
+				Plugin:   "dora",
+				Subtasks: []string{
+					"generateDeploymentCommits",
+					"enrichPrevSuccessDeploymentCommits",
+				},
+				Options:  map[string]interface{}{"projectName": projectName},
+			},
+		},
 		plugin.PipelineStage{
 			{
 				Plugin:   "refdiff",
-				Subtasks: []string{"calculateProjectDeploymentCommitsDiff"},
+				Subtasks: []string{"calculateDeploymentCommitsDiff"},

Review Comment:
   `calculateDeploymentCommitsDiff` does not exist in v0.16



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org