Built-in Plugin
About 327 wordsAbout 1 min
In addition to custom tasks, CNB provides a series of commonly used built-in tasks that developers can use directly.
A built-in task is specified via the Stage's type field in the format <category>:<task> (such as docker:cache, git:auto-merge). Parameters are passed through options, and task outputs can be exported as environment variables via exports for use in subsequent tasks.
All built-in tasks are listed below by category. Click a task to view its detailed reference.
Docker
- docker:cache: Build Docker image cache to speed up dependency installation
cnb
- cnb:await-resolve: Wait/notify mechanism for collaboration across multiple pipelines
- cnb:apply: Trigger sub-pipelines within the same repository
- cnb:trigger: Trigger sub-pipelines in a specified repository
- cnb:read-file: Export file content as environment variables
- cnb:destroy-token: Destroy the pipeline CNB_TOKEN
vscode
- vscode:go: Control the availability of Workspaces environments
git
- git:reviewer: Automatically add reviewers to pull requests
- git:auto-merge: Automatically merge pull requests
- git:issue-update: Update issue status
- git:release: Release repository
- git:pr-commit-message-preset: Set pre-defined commit message for PR
- git:pr-update: Updating the title and labels of the pull request
testing
- testing:coverage: Report unit test coverage
artifact
- artifact:remove-tag: Remove CNB artifact tags
tapd
- tapd:status-update: Update the status of TAPD-associated items (story, task, or bug)
- tapd:comment: Submit TAPD associated item (story, task, or bug) comments
knowledge
- knowledge:update: Build repository docs, issues, etc. into the knowledge base
npc
- npc:go: Execute NPC tasks