Deploy to live with security restrictions

We have a build that deploys to dev, runs some tests. QA then does more tests and there is a manual build stage to deploy to UAT. Once we get sign off, we have another manual build stage to deploy to live.

However we want to restrict who can kick off this last stage,i.e a developer isn't allowed (SOX and Solvency II requirements) to push things straight into production.

So we need someone from the IT Support team to kick off just this stage. We have to enter a password in order to deploy to production (command line parameter in the deploy step) and I've set that up as a build parameter.

However we want to prompt the user to enter that password and only IT Support would know this password.

How do we do that?

Or can we make just that build stage allowed to be run by just the IT Support group?

2 answers

1 vote

However we want to prompt the user to enter that password and only IT Support would know this password.

You can do it via a parametrised build (you need to define a plan variable for password and use it in your build tasks), but the problem is that the entered password will be visible on the plan page. To avoid it, you can modify the ftl snippet responsible for showing Overriden Variables section.

Or can we make just that build stage allowed to be run by just the IT Support group?

You can set it up only per plan, not per stage.

I'm using a plan variable to pass in a password.. But if I pass in the wrong password then I can't re-enter the password. I need to re-run the plan from the start again... Any way around this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

371 views 0 8
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