Bamboo deployment: manual tasks/stages (like build process)

When I set up the building process I can create manual steps/stages. Can I do the same when I set up the deployment process?
I want to create three stages of deployment: enable maintenance page, deployment, disable maintenance page.
Is it possible?

4 answers

We have created a fairly comprehensive set of groovy scripts to manage our environments, builds and deploys.  One of the classes groups that can be called from any deploy sequence is a "Wait For" class hierarchy.  The condition being waited for can be almost anything - e.g. we have implementations of the Abstract class that wait for:

  • an SQL query to return a certain value
  • a file to exist in the file system
  • a file to cease to exist in the file system
  • a file of a certain name pattern to be created with a creation date greater than another named file (based on the Unix "find . -newer some-file -name \*some-pattern\*")
  • etc.

These are very useful.  They allow:

  • co-ordination of deploys from different Bamboo Projects (Bamboo triggers only work from builds or other deploys in the same project)
  • people to perform manual steps and then touch a nominated file to cause the triggering of the wait for condition for that file to exist
  • etc.

We are able to specify:

  • the gap between re-checks for the condition to be met
  • the timeout to return a timeout error rather than continue waiting - a 0 timeout setting means no timeout will occur
0 votes

There are no stages for deployment projects. But you can do this in tasks, right? Tasks are executed sequentially. It won't do grouping but atleast you have a logical ordering.

Thanks for the answer. But I need run this task manual:
1) manual run Bamboo stage: enable maintenance page;
2) then I check maintenance page on all servers;
3) manual run Bamboo stage: run deploy;
4) then I check successful deployment on all servers;
5) manual run Bamboo stage : disable maintenance page.

I can do it in build menu, but i must do it in deployment.

My build menu:

image2015-11-13 9:42:14.png

We really need this feature! The lack of manual tasks in Deployment Plans seems to be a showstopper for us.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you