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

When writing Bamboo tasks, is it possible to reuse other defined tasks?

Chris Shaw
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!
May 6, 2020

I'm finding that I commonly need to redefine the same set of steps across different projects and plans, ie. my build process is similar for different builds (read some project vars, generate some output, perform a build, rename the output...).

I think that writing my own reusable task is probably a good way to control repeatability here. But as my own task will merely call a sequence of pre-defined Bamboo tasks (script, inject, command etc) I need to know that this is possible before I start. It seems like a common use case, but can someone confirm this is possible/easy, and point me at an example?

Thanks.

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2020

If you want to avoid custom plugin which will call other tasks I'd suggest you to look at Bamboo specs and manage repeatable tasks by Java/YAML code

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events