@@ -98,14 +98,15 @@ func NewSouceCodeBuildItem(in []byte) *SourceCodeBuildItem {
9898 eventID := gjson .GetBytes (in , "event_id" ).String ()
9999 logger := event .GetManager ().GetLogger (eventID )
100100 csi := sources.CodeSourceInfo {
101- ServerType : strings .Replace (gjson .GetBytes (in , "server_type" ).String (), " " , "" , - 1 ),
102- RepositoryURL : gjson .GetBytes (in , "repo_url" ).String (),
103- Branch : gjson .GetBytes (in , "branch" ).String (),
104- User : gjson .GetBytes (in , "user" ).String (),
105- Password : gjson .GetBytes (in , "password" ).String (),
106- TenantID : gjson .GetBytes (in , "tenant_id" ).String (),
107- ServiceID : gjson .GetBytes (in , "service_id" ).String (),
108- Configs : gjson .GetBytes (in , "configs" ).Map (),
101+ ServerType : strings .Replace (gjson .GetBytes (in , "server_type" ).String (), " " , "" , - 1 ),
102+ RepositoryURL : gjson .GetBytes (in , "repo_url" ).String (),
103+ Branch : gjson .GetBytes (in , "branch" ).String (),
104+ User : gjson .GetBytes (in , "user" ).String (),
105+ Password : gjson .GetBytes (in , "password" ).String (),
106+ TenantID : gjson .GetBytes (in , "tenant_id" ).String (),
107+ ServiceID : gjson .GetBytes (in , "service_id" ).String (),
108+ Configs : gjson .GetBytes (in , "configs" ).Map (),
109+ DockerfilePath : gjson .GetBytes (in , "dockerfile_path" ).String (),
109110 }
110111 envs := gjson .GetBytes (in , "envs" ).String ()
111112 be := make (map [string ]string )
0 commit comments