-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,4 +69,5 @@ node_modules | |
*.js.map | ||
*.env | ||
.cache | ||
dist/ | ||
dist/ | ||
**/*.rest |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,10 +280,44 @@ | |
"target": "artifactItems", | ||
"dataSourceName": "Artifacts", | ||
"resultTemplate": "{ Value : \"{{{path}}}\", DisplayValue : \"{{{path}}}\", data: { itemType: \"{{ #stringReplace ['tree','blob'] ['folder','file'] type }}\" } }" | ||
}, | ||
{ | ||
"target": "listwebhook", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kasubram
Collaborator
|
||
"endpointUrl": "{{{endpoint.url}}}projects/{{definition}}/hooks", | ||
"requestVerb": "Post", | ||
"requestContent": "{}", | ||
"resultSelector": "jsonpath:$" | ||
}, | ||
{ | ||
"target": "createwebhook", | ||
"endpointUrl": "{{{endpoint.url}}}projects/{{definition}}/hooks?url={{payloadUrl}}", | ||
"requestVerb": "Post", | ||
"requestContent": "{}", | ||
"resultSelector": "jsonpath:$" | ||
}, | ||
{ | ||
"target": "deletewebhook", | ||
"endpointUrl": "{{{endpoint.url}}}projects/{{definition}}/hooks/{{hookid}}", | ||
This comment has been minimized.
Sorry, something went wrong.
onlyutkarsh
Author
Owner
|
||
"requestVerb": "Post", | ||
"requestContent": "{}", | ||
"resultSelector": "jsonpath:$" | ||
} | ||
], | ||
"browsableArtifactTypeMapping": { | ||
"folder": "artifactItems" | ||
}, | ||
"ArtifactTriggerConfiguration": { | ||
"isTriggerSupported": true, | ||
"isTriggerSupportedOnlyInHosted": false, | ||
"isWebhookSupportedAtServerLevel": false, | ||
"resources": { | ||
"TriggerDisabledMessage": "Enabling the trigger will create a new release every time a new commit is made in the selected repository and the branch" | ||
}, | ||
"payloadHashHeaderName": "X-GitLab-Token", | ||
"webhookPayloadMapping": { | ||
"version": "{{id}}", | ||
"definition": "{{name}}" | ||
This comment has been minimized.
Sorry, something went wrong.
onlyutkarsh
Author
Owner
|
||
} | ||
} | ||
} | ||
} | ||
|
Does this need to change the get webhook by id rest api instead of list webhooks?