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

How can I create multiple bamboo stages in a specs project and designate manual or automatic?

Jeff_Schaeffer April 16, 2019

Since YAML specs only allow one build plan per project, I'd like to create multiple stages within one specs file and be able to designate the first (CI) as automatic, then follow-on stages as manual.  This would allow me to replicate my current multi-plan/project setup.

Something like this:

project:
   key: PROJKEY1
   plan:
      key: PLANKEY1
      name: Specs for proj-xyz
stage1(auto):
   - jobs:
      - echo "CI Stage"
      - scripts:
          - ./runci
stage2(manual):
   - jobs:
      - scripts:
          - echo "Integrate Stage"
          - ./runintegration
stage3(manual):
   - jobs:
      - scripts:
          - echo "Release Stage"
          - ./runrelease
stage4(manual):
   - jobs:
      - scripts:
          - echo "Deployment Stage"
          - ./rundeploy ${targethost1}
          - ./rundeploy ${targethost2}

2 answers

1 vote
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 17, 2019

Hi Jeff,

It looks like this is something you will be able to in the next release of Bamboo per: https://jira.atlassian.com/browse/BAM-19756

Until then, I don't believe that YAML specs is capable of doing that.

Hope that helps you!

-James

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2019

Bamboo 6.9 RC1 with this functionality can be downloaded from https://www.atlassian.com/software/bamboo/download-archives

Documentation can be found here: https://docs.atlassian.com/bamboo-specs-docs/6.9.0-rc1/specs-java.html#stage

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events