We are trying to run a powershell script within a Bamboo plan and would like to specify which user to run it as. We set up an AD user with permissions to 2 network folders so we can promote code from dev to prod. We need this user to be the one that runs the script instead of the bamboo user.
Is this doable within Bamboo, or with a plugin?
Since all we really needed was for the script to move a file from one server to another and the user was only for file sharing permissions, we decided to make a service account for Bamboo to run as (I know, probably should have done this to start with) and that fixed this case for us.
Hi @Allan Libby
I think I clearly understand your need but I have to say that Bamboo does not provide such a feature neither other add-ons, at least not the ones I know.
What I think you could do it to configure a remote agent to run with a user that has the needed permissions and create a requirement for the job needing this resource to use the specified agent. That will not be a dynamic configuration, but at least should allow you to change environment permissions to a given job.
Please let me know if that helps.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
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