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

How to trigger a project deployment from a Success Build if the build has 2 Stages and the 2nd stage is manual

Dana Cleveland
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2014

So I have some developers that have 2 stages on their builds

Stage 1: Essentially performs a standard maven build, and always runs

Stage 2: Is a Manually triggered Stage that does a maven release:prepare / release:perform

 

They then have an Environment on their associated Deployment Project set to trigger on a sucessful build. 

The Environment then pushes a different artifact to our application servers which does not reside in our shared maven repos.

The trouble is that the the trigger does not happen even though the build is successful, Its a Green Circle, with a dot on the middle, vs.. a green circle with a checkmark.. So its more like "Successful Build But....." status..

How do others do it..

Because our Bamboo crosses spans the company and different teams we have agents that essentially have different credentials/permissions, we use a Requirement on the Build to help choose the Agent to run and thus the permissions to push the release to our shared maven repos, and permission to git repo for the commands that maven runs with git outside of bamboo..

 

 

3 answers

0 votes
Dana Cleveland
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2014

A Related Deployment Project does not seem treated as "Dependency" for the build, so it doesn't seem to let it run 

0 votes
pradhyumna shrestha October 23, 2014

Try this option.image2014-10-24 9:56:58.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events