...
To create a new function, click theĀ button. To view or edit a function, click on the name of the function.
...
The Groovy script for the function will be executed when a webhook is received at the listed uri URI that has been matched to the selected provider. More function examples can be foundĀ {{link}}. The editing window has capabilities for undo, redo, find, find and replace, and go to line. There are a variety of context variables and methods available to use in this script. Type Ctrl + Space in the editor for suggestions on variables and methods that can be used.
Examples
...
- Create/delete stream automatically
...
- Manage release from story
...
- Build on push
...
- ?? may wait on this one until we have capability to do approvals from slack
...
. See more examples of functions on our Sample Implementations page.