File tree 3 files changed +7
-1
lines changed 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 4
4
.env
5
5
/cmd /external-app /devtron-ea
6
6
devtron
7
+
8
+ .qodo
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ func (impl *WebhookNotificationServiceImpl) GetWebhookVariables() (map[string]be
109
109
"devtronCiPipelineId" : beans .DevtronCiPipelineId ,
110
110
"devtronCdPipelineId" : beans .DevtronCdPipelineId ,
111
111
"devtronTriggeredByEmail" : beans .DevtronTriggeredByEmail ,
112
+ "devtronPipelineType" : beans .DevtronPipelineType ,
113
+ "devtronBuildGitCommitHash" : beans .DevtronBuildGitCommitHash ,
112
114
"eventType" : beans .EventType ,
113
115
}
114
116
@@ -119,7 +121,7 @@ func (impl *WebhookNotificationServiceImpl) FetchAllWebhookNotificationConfig()
119
121
var responseDto []* beans.WebhookConfigDto
120
122
webhookConfigs , err := impl .webhookRepository .FindAll ()
121
123
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 )
123
125
return []* beans.WebhookConfigDto {}, err
124
126
}
125
127
for _ , webhookConfig := range webhookConfigs {
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ const (
23
23
DevtronCiPipelineId WebhookVariable = "{{devtronCiPipelineId}}"
24
24
DevtronCdPipelineId WebhookVariable = "{{devtronCdPipelineId}}"
25
25
DevtronTriggeredByEmail WebhookVariable = "{{devtronTriggeredByEmail}}"
26
+ DevtronBuildGitCommitHash WebhookVariable = "{{devtronBuildGitCommitHash}}"
27
+ DevtronPipelineType WebhookVariable = "{{devtronPipelineType}}"
26
28
EventType WebhookVariable = "{{eventType}}"
27
29
)
28
30
You can’t perform that action at this time.
0 commit comments