Plugin
Plugin steps perform pre-defined tasks as steps in your pipeline.
Plugins can build and publish artifacts, send notifications, and more.
Editor
- From the pipeline editor, select Plugins from the Select a step menu on the right
- Scroll through the available plugins, or use the Search field, then select a plugin
- Enter the necessary inputs in the fields provided, then select Add
The plugin step will be added in the pipeline editor.
Manual
You can optionally add plugin steps directly to your pipeline file manually.
This pipeline executes a test
run step followed by a notify
plugin step that uses the Slack plugin.
kind: pipeline
spec:
stages:
- type: ci
spec:
steps:
- name: test
type: run
spec:
container: node
script: |-
npm install
npm test
- name: notify
type: plugin
spec:
name: slack
inputs:
webhook: ${{ secrets.get("slack_webhook") }}