Skip to end of banner
Go to start of banner

How to add Trigger to Bamboo plan with Bamboo Command Line Interface (CLI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This article explains how to add Trigger to Bamboo plan with Bamboo Command Line Interface (CLI)

Instructions

Use addTrigger action to add a trigger to the plan. Refer to the sample command as follows:

The parameter used in the below action:

--plan value refers to Bamboo plan key.
--type value refers to the Triggering options.
--repository value refers to the repository name.
--schedule value refers to the schedule configuration.

  1. --action addTrigger --plan "MKTES-TP" --type "Polling" --description "polling trigger" --repository "test_training_mk" --schedule "3600"
  2. In the above action:

    --type value refers to all projects in Bamboo.
    --plan value refers to Bamboo plan key.
    • Additionall--regex can be used to filter plans.
  3. --action addTrigger --plan "MKTES-TP" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *"
  4. c


  • No labels