Versions Compared

Key

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

This article explains how to add a job in a stage of a plan with Bamboo Command Line Interface (CLI)

Instructions

Use Use addJob action  action to add a job in a stage of a plan. A  A Bamboo job is a single build unit within a plan and it controls the order in which tasks are performed. Each  Each new plan created in Bamboo contains at least one job known as the 'Default Job'.

The parameter used in the below action:

--plan value refers to the plan key.
--description value refers to the Job descrioption.
--
build stage value refers to build plan keyto the stage name where you want to add the job.
--
number job value refers to the build number of the planJob name.

  1. Execute this action to add a comment to the build plan.

    Code Block
    themeMidnight
    --action addJob --plan "MKTES-TP" --description "Job to execute the test build" --stage "stage test" --job "Run job"


    Image Modified

    Image Modified


Info

It is recommended to test the commands in a non-production environment before running in the production.

...