Skip to end of banner
Go to start of banner

How to add a requirement to a Bamboo plan using 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 20 Current »

This article explains how to add a requirement to a Bamboo plan using CLI

Instructions

Use the addRequirement action with plan, job and requirement parameters to get the requirement added in your test plan. Ensure that the CLI client file is updated with the relevant credentials.

  1. Find the value of the requirement parameter as shown below: 
    1. Under Bamboo administration, navigate to the Agents section and then click on Key (custom.com) under the heading, Shared capabilities.
    2. Refer to the URL and get the value of the capabilityKey which is the value of the requirement parameter.
  2. Now, run the following CLI action:

    --action addRequirement --plan "TR-TES" --job "JOB4" --requirement "custom.com"
  3. The query results in the following output:

    Requirement added with id 1245185.

    Here is the screenshot of the User Interface view.

       

As per the example explained above, the capability can be defined as per your choice. Here, the capability name is custom.com.



  • No labels