Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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  action to move the job from one stage to another. Ensure that the CLI client file is updated with the required information. 

...


A screenshot of a plan under the Default Stage

...

:
Image Modified

...


Run the

...

CLI action below to move the job to test1 stage:

Code Block
themeMidnight
--action moveJob --plan "TR-TP" --job "job1" --stage "test1"

Here is the output of the CLI action:

Code Block
themeMidnight
Job TR-TP-JOB1 moved to stage 'test1'.

Image Modified

The parameters used in the above action are: 

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