Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,630
Community Members
 
Community Events
165
Community Groups

Disable 'Force stop build' through CLI

Edited

I have a bamboo plan set up through CLI (using Bamboo 6.9.2 build 60911) with Force stop build checbox as checked (by default). 

Few of the builds have tasks which do not report back for more than 3 hrs. The Bamboo admin has configured bamboo such that Bamboo detect hung build after 2 hrs of task inactivity

I want to make Plan Configuration > Other > Force stop build  as unchecked for plans created through CLI. What is the command to do it ? Can you please guide.

 

--action createPlan --plan "1" --replace --projectName "PR1"

--action addStage --plan @plan@ --stage "EXECUTE"
--action addJob --plan @plan@ --stage @stage@ --job "1"
--action addTask --plan @plan@ --job @Job@ --taskKey "CHECKOUT" --description "Smoke" --field1 "repository" --value1 ""
--action addTask --plan @plan@ --job @Job@ --taskKey "SCRIPT" --description "clean up" --field2 "script" --fields --action addRepository --plan @plan@ --name "PROJPLAN" --branch "develop"
--action addBranch --plan @plan@ --branch "develop" --enable --name "1111"

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

912 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you