Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

after upgrade to bamboo r8, addRepository using a linked repository always points to master

Ralph Woltering
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2023

We moved from Bamboo7 to v8. We are creating a plan using ACLI, but now the addRepository doesn't work as before.. the --branch "feature/<my_branch>" doesn't work anymore. The linked repository keeps pointing to the default, it's not overwritten in the plan.

--action createPlan --plan "STITESTCLISTIE-plan_7207_ts" --replace --projectName "STITESTCLISTIE"
--action addStage --plan @plan@ --stage "EXECUTE"
--action addJob --plan @plan@ --stage @[deleted]@ --job "my_job"
--action addTask --plan @plan@ --job @Job@ --taskKey "CHECKOUT" --description "some_text" --field1 "repository" --value1 ""
--action addTask --plan @plan@ --job @Job@ --taskKey "SCRIPT" --description "some_task" --final --fields "workingSubDirectory:STARSvb6,interpreter:shell" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "python"
--action addRepository --plan @plan@ --name "my_repoName" --branch "feature/my_branch_name"
--action addBranch --plan @plan@ --branch "feature/my_branch_name" --name "YS-124541" --enable

So the end goal is that we have our branch checked-out on an agent iso the linked-repository. Any help is appreciated! Thanks

R. Woltering




0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events