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,369,239
Community Members
 
Community Events
168
Community Groups

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

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 Apr 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

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

Atlassian Community Events