File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44.env
55/cmd /external-app /devtron-ea
66devtron
7+
8+ .qodo
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ func (impl *WebhookNotificationServiceImpl) GetWebhookVariables() (map[string]be
109109 "devtronCiPipelineId" : beans .DevtronCiPipelineId ,
110110 "devtronCdPipelineId" : beans .DevtronCdPipelineId ,
111111 "devtronTriggeredByEmail" : beans .DevtronTriggeredByEmail ,
112+ "devtronPipelineType" : beans .DevtronPipelineType ,
113+ "devtronBuildGitCommitHash" : beans .DevtronBuildGitCommitHash ,
112114 "eventType" : beans .EventType ,
113115 }
114116
@@ -119,7 +121,7 @@ func (impl *WebhookNotificationServiceImpl) FetchAllWebhookNotificationConfig()
119121 var responseDto []* beans.WebhookConfigDto
120122 webhookConfigs , err := impl .webhookRepository .FindAll ()
121123 if err != nil && ! util .IsErrNoRows (err ) {
122- impl .logger .Errorw ("cannot find all webhoook config" , "err" , err )
124+ impl .logger .Errorw ("cannot find all webhook config" , "err" , err )
123125 return []* beans.WebhookConfigDto {}, err
124126 }
125127 for _ , webhookConfig := range webhookConfigs {
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ const (
2323 DevtronCiPipelineId WebhookVariable = "{{devtronCiPipelineId}}"
2424 DevtronCdPipelineId WebhookVariable = "{{devtronCdPipelineId}}"
2525 DevtronTriggeredByEmail WebhookVariable = "{{devtronTriggeredByEmail}}"
26+ DevtronBuildGitCommitHash WebhookVariable = "{{devtronBuildGitCommitHash}}"
27+ DevtronPipelineType WebhookVariable = "{{devtronPipelineType}}"
2628 EventType WebhookVariable = "{{eventType}}"
2729)
2830
You can’t perform that action at this time.
0 commit comments