Skip to content

Commit 6c4879c

Browse files
branch name field added in cd artifact material (#3064)
1 parent 1235a2f commit 6c4879c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/pipeline/PipelineBuilder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2932,6 +2932,7 @@ func parseMaterialInfo(materialInfo json.RawMessage, source string) (json.RawMes
29322932
scmMap["message"] = _modification.Message
29332933
scmMap["tag"] = _modification.Tag
29342934
scmMap["webhookData"] = _webhookDataStr
2935+
scmMap["branch"] = _modification.Branch
29352936
}
29362937
scmMapList = append(scmMapList, scmMap)
29372938
}

0 commit comments

Comments
 (0)