Skip to end of banner
Go to start of banner

How to move a job from one stage to another using 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 7 Current »

This article explains how to move a job from one stage to another using Bamboo Command Line Interface (CLI) app.

Instructions

Use the moveJob action to move the job from one stage to another.

  1. Ensure that the CLI client file is updated with the required information. 

    Below is the screenshot of a plan under the Default Stage.


  2. Execute the below CLI action to move the job:

    --action moveJob --plan "TR-TP" --job "job1" --stage "test1"

    Here is the output of the CLI action:

    Job TR-TP-JOB1 moved to stage 'test1'.

The parameters used in the above action are: 

  • --plan value refers to the plan key containing the project key.
  • --job value refers to the job key.
  • --stage value refers to the stage name.
  • No labels