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

Running the Unit test task as different user then account that is running Bamboo

Kevin Stacey March 10, 2022

Hi All,

Bamboo version 8.0.6

We have Bamboo running as a service using a service account.
I had a few users who are utilizing a unit runner task in some of their build plans.

The unit tests are run as that same user that is running bamboo which makes sense.
Is there a way to tell bamboo to use a different user or another solution?

Instead of using a unit runner task, use a script task and definite the user to run the task in it? I apologize if this was been answered before.

1 answer

0 votes
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 5, 2022

The only solution I can think of is to use a script task. You can then use test result parser task to read the test results.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events