Add action
Creates a new action in the pipeline.
Required scopes: WORKSPACE
, EXECUTION_MANAGE
Resource URL
POST /workspaces/:domain/projects/:project_name/pipelines/:pipeline_id/actions
URL Parameters
Name | Type | Description |
---|---|---|
domain Required | String | The workspace domain. |
pipeline_id Required | Integer | The numerical ID of the desired pipeline. |
project_name Required | String | The name ID of the project. |
Actions schema
Properties
Name | Type | Description |
---|---|---|
name Required | String | The ID of the action. |
type Required | String | The type of the action. |
trigger_time Required | String | Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION , ON_FAILURE or ON_BACK_TO_SUCCESS . The default value is ON_EVERY_EXECUTION . |
variables | Variable[] | The list of variables you can use the action. |
trigger_condition | String | Defines when the build action should be run. Can be one of ALWAYS , ON_CHANGE , ON_CHANGE_AT_PATH , VAR_IS , VAR_IS_NOT , VAR_CONTAINS , VAR_NOT_CONTAINS , DATETIME or SUCCESS_PIPELINE . Can't be used in deployment actions. |
trigger_condition_paths | String[] | Required when trigger_condition is set to ON_CHANGE_AT_PATH . |
trigger_variable_key | String | Required when trigger_condition is set to VAR_IS , VAR_IS_NOT or VAR_CONTAINS or VAR_NOT_CONTAINS . Defines the name of the desired variable. |
trigger_variable_value | String | Required when trigger_condition is set to VAR_IS , VAR_IS_NOT or VAR_CONTAINS . Defines the value of the desired variable which will be compared with its current value. |
after_action_id | Integer | The numerical ID of the action, after which this action should be added. |
timeout | Integer | The timeout in seconds. |
disabled | Boolean | When set to true the action is disabled. By default it is set to false . |
run_next_parallel | Boolean | When set to true , the subsequent action defined in the pipeline will run in parallel to the current action. |
run_only_on_first_failure | Boolean | Defines whether the action should be executed on each failure. Restricted to and required if the trigger_time is ON_FAILURE . |
trigger_hours | Integer[] | Available when trigger_condition is set to DATETIME . Defines the time – by default running from 1 to 24. |
trigger_days | Integer[] | Available when trigger_condition is set to DATETIME . Defines the days running from 1 to 7 where 1 is for Monday. |
zone_id | String | Available when trigger_condition is set to DATETIME . Defines the timezone (by default it is UTC) and takes values from here. |
trigger_project_name | String | Required when trigger_condition is set to SUCCESS_PIPELINE . Defines the name of the project in which the trigger_pipeline_name is. |
trigger_pipeline_name | String | Required when trigger_condition is set to SUCCESS_PIPELINE . Defines the name of the pipeline. |
ignore_errors | Boolean | If set to true the execution will proceed, mark action as a warning and jump to the next action. Doesn't apply to deployment actions. |
retry_delay | Integer | Delay time between auto retries in minutes. |
retry_count | Integer | Number of retries if the action fails. |
On top of these properties every action has a set of properties unique to its type. You can read how to define each type in separate articles below.
Amazon S3
Learn how to add and configure the "Amazon S3" action in your Buddy pipeline
AWS CLI
Learn how to add and configure the "AWS CLI" action in your Buddy pipeline
AWS CLI 2
Learn how to add and configure the "AWS CLI 2" action in your Buddy pipeline
AWS ECS
Learn how to add and configure the "Amazon ECS" action in your Buddy pipeline
AWS Lambda
Learn how to add and configure the "AWS Lambda" action in your Buddy pipeline
AWS Lambda Deploy
Learn how to add and configure the "AWS Lambda Deploy" action in your Buddy pipeline
Azure
Learn how to add and configure the "Azure" action in your Buddy pipeline
Azure CLI
Learn how to add and configure the "Azure CLI" action in your Buddy pipeline
Azure Storage
Learn how to add and configure the "Azure Storage" action in your Buddy pipeline
Bugsnag
Learn how to add and configure the "Bugsnag" action in your Buddy pipeline
Build action
Learn how to add and configure a build action action in your Buddy pipeline
Build Android App
Learn how to add and configure the "Build Android App" action in your Buddy pipeline
Build Docker Image
Learn how to add and configure the "Build Docker Image" action in your Buddy pipeline
Build Flutter App
Learn how to add and configure the "Build Flutter App" action in your Buddy pipeline
Cloudflare
Learn how to add and configure the "Cloudflare" action in your Buddy pipeline
CloudFront
Learn how to add and configure the "Cloudfront" action in your Buddy pipeline
CodeDeploy
Learn how to add and configure the "Codedeploy" action in your Buddy pipeline
Compress images
Learn how to add and configure the "Compress-images" action in your Buddy pipeline
Copy files from another pipeline
Learn how to add and configure the "Copy files from another pipeline" action in your Buddy pipeline
Datadog notification
Learn how to add and configure the "Datadog" notification action in your Buddy pipeline
Datadog Service Check
Learn how to add and configure the "Datadog Service" action in your Buddy pipeline
DigitalOcean
Learn how to add and configure the "DigitalOcean" action in your Buddy pipeline
DigitalOcean CDN
Learn how to add DigitalOcean integration to Buddy
DigitalOcean CLI
Learn how to add and configure the "DigitalOcean CLI" action in your Buddy pipeline
DigitalOcean Spaces
Learn how to add and configure "DigitalOcean Spaces" action in Buddy
Discord notification
Learn how to add and configure the "Discord" notification action in your Buddy pipeline
Dockerfile Linter
Learn how to add and configure the "Dockerfile Linter" action in your Buddy pipeline
Download FTP
Learn how to add and configure the "Download FTP" action in your Buddy pipeline
Download S3
Learn how to add and configure the "Download S3" action in your Buddy pipeline
Download SFTP
Learn how to add and configure the "Download SFTP password" action in your Buddy pipeline
Elastic Beanstalk
Learn how to add and configure the "Elastic Beanstalk" action in your Buddy pipeline
Elastic Beanstalk Monitor
Learn how to add and configure the "Elastic Beanstalk Monitor" action in your Buddy pipeline
Email notification
Learn how to add and configure the "Email Notification" action in your Buddy pipeline
Eslint
Learn how to add and configure the "ESlint" action in your Buddy pipeline
Firebase
Learn how to add and configure the "Firebase" action in your Buddy pipeline
FTP
Learn how to add and configure the "FTP Transfer" action in your Buddy pipeline
FTPS
Learn how to add and configure the "FTPS Transfer" action in your Buddy pipeline
GCloud CLI
Learn how to add and configure the "Google Cloud CLI" action in your Buddy pipeline
Ghost Inspector
Learn how to add and configure the "Ghost Inspector" action in your Buddy pipeline
Git Push
Learn how to add and configure the "Git Push" notification action in your Buddy pipeline
Gitcrypt lock
Learn how to add and configure the "Gitcrypt lock" action in your Buddy pipeline
Gitcrypt unlock
Learn how to add and configure the "Gitcrypt unlock" action in your Buddy pipeline
GKE Apply Deployment
Learn how to add and configure the "GKE Apply Deployment" action in your Buddy pipeline
GKE kubectl
Learn how to add and configure the "GKE KubeCTL" action in your Buddy pipeline
GKE Run Helm
Learn how to add and configure the "GKE Run Helm" action in your Buddy pipeline
GKE Run Job
Learn how to add and configure the "GKE Run Job" action in your Buddy pipeline
GKE Run Pod
Learn how to add and configure the "GKE Run Pod" action in your Buddy pipeline
GKE Set Image
Learn how to add and configure the "GKE Set Image" action in your Buddy pipeline
Google App Engine
Learn how to add and configure the "Google App Engine" action in your Buddy pipeline
Google CDN
Learn how to add and configure the "Google CDN" action in your Buddy pipeline
Google Cloud Run
Learn how to add and configure the "Google Cloud Run" action in your Buddy pipeline
Google Cloud Storage
Learn how to add and configure the "Google Cloud Storage" action in your Buddy pipeline
Google Compute Engine
Learn how to add and configure the "Google Compute Engine" action in your Buddy pipeline
Google Functions
Learn how to add and configure the "Google Functions" action in your Buddy pipeline
Google Functions Deploy
Learn how to add and configure the "Google Functions Deploy" action in your Buddy pipeline
Heroku
Learn how to add and configure the "Heroku" action in your Buddy pipeline
Heroku CLI
Learn how to add and configure the "Heroku CLI" action in your Buddy pipeline
Honeybadger
Learn how to add and configure the "Honeybadger" action in your Buddy pipeline
HTTP Request
Learn how to add and configure the "HTTP" notification action in your Buddy pipeline
Kubernetes Apply Deployment Configuration
Learn how to add and configure the "Kubernetes Apply Deployment" action in your Buddy pipeline
Kubernetes kubectl
Learn how to add and configure the "Kubernetes KubeCTL" action in your Buddy pipeline
Kubernetes Run Helm CMDs
Learn how to add and configure the "Kubernetes Run Helm CMDs" action in your Buddy pipeline
Kubernetes Run Pod
Learn how to add and configure the "Kubernetes Run Pod" action in your Buddy pipeline
Kubernetes Set Image
Learn how to add and configure the "Kubernetes Set Image" action in your Buddy pipeline
Lighthouse
Learn how to add and configure the "Lighthouse" action in your Buddy pipeline
Link Validator
Learn how to add and configure the "Link Validator" notification action in your Buddy pipeline
Loggly
Learn how to add and configure the "Loggly" action in your Buddy pipeline
Microsoft Teams
Learn how to add and configure the "Microsoft Teams" action in your Buddy pipeline
Netlify
Learn how to add and configure the "Netlify" action in your Buddy pipeline
New Relic notification
Learn how to add and configure the "New Relic" action in your Buddy pipeline
Pass arguments
Learn how to add and configure the "Pass Arguments" action in your Buddy pipeline
Ping monitoring
Learn how to add and configure the "Ping Monitoring" action in your Buddy pipeline
Publish Android Application
Learn how to add and configure the "Publish Android Application" action in your Buddy pipeline
Publish Bundle to Google Play
Learn how to add and configure the "Publish Bundle to Google Play" action in your Buddy pipeline
Push Docker Image
Learn how to add and configure the "Push Docker Image" action in your Buddy pipeline
Pushbullet
Learn how to add and configure the "Pushbullet" action in your Buddy pipeline
Pushover
Learn how to add and configure the "Pushover" action in your Buddy pipeline
Rackspace
Learn how to add and configure the "Rackspace" action in your Buddy pipeline
Raygun
Learn how to add and configure the "Raygun" action in your Buddy pipeline
Replace
Learn how to add and configure the "Replace" action in your Buddy pipeline
Rollbar notification
Learn how to add and configure the "Rollbar" notification action in your Buddy pipeline
Rsync
Learn how to add and configure the "Rsync" action in your Buddy pipeline
Run Docker container
Learn how to add and configure the "Run Docker Container" action in your Buddy pipeline
Run Next Pipeline
Learn how to add and configure the "Run Next Pipeline" action in your Buddy pipeline
Sentry notification
Learn how to add and configure the "Sentry" notification action in your Buddy pipeline
SFTP
Learn how to add and configure the "SFTP password" action in your Buddy pipeline
Shopify
Learn how to add and configure the "Shopify" action in your Buddy pipeline
Shopify CLI
Learn how to add and configure the "Shopify Theme Kit CLI" action in your Buddy pipeline
Sign Android Application
Learn how to add and configure the "Sign Android Application" action in your Buddy pipeline
Sign Bundle
Learn how to add and configure the "Sign Bundle" action in your Buddy pipeline
Slack notification
Learn how to add and configure the "Slack" action in your Buddy pipeline
Sleep
Learn how to add and configure the "Sleep" action in your Buddy pipeline
Sms notification
Learn how to add and configure the "SMS notification" action in your Buddy pipeline
Split Tests
Learn how to add and configure the "Split Tests" action in your Buddy pipeline
SSH command
Learn how to add and configure the "SSH Command" action in your Buddy pipeline
SSL verify
Learn how to add and configure the "SSL checker" action in your Buddy pipeline
TCP monitoring
Learn how to add and configure the "TCP Monitoring" action in your Buddy pipeline
Telegram notification
Learn how to add and configure the "Telegram" notification action in your Buddy pipeline
Upcloud
Learn how to add and configure the "Upcloud" action in your Buddy pipeline
Visual tests
Learn how to add and configure the "Visual tests" action in your Buddy pipeline
Vultr
Learn how to add and configure the "Vultr" action in your Buddy pipeline
Wait for apply
Learn how to add and configure the "Wait For Apply" action in your Buddy pipeline
Web monitoring
Learn how to add and configure the "Web Monitoring" action in your Buddy pipeline
WebDAV
Learn how to add and configure the "WebDAV" action in your Buddy pipeline
Windows
Learn how to add and configure the "Windows" action in your Buddy pipeline
XCode
Learn how to add and configure the "XCode" action in your Buddy pipeline
ZIP
Learn how to add and configure the "ZIP" action in your Buddy pipeline