Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

194 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you