Reputation: 969
Today I encountered a very strange issue and google unfortunately did not help me. I have a project in VSTS Online and I configured it to run tests during the build, part of my tests are integration-tests (they run simple scenarios and test application state during the execution) and the problem is that my application uses AWE (Address Windows Extensions) for memory allocation and to use it windows user should have SE_LOCK_MEMORY_NAME privilege - and VSTS Online user does not have it.
Can someone advice me how I can adjust privileges of the windows user in VSTS?
P.S. My application automatically tries to adjust current user privileges through the code and gets access denied.
Thanks in advance
Upvotes: 0
Views: 98
Reputation: 29976
There isn't any way to adjust the privilege if you are using Hosted Build Agent.
Q: Do any of the processes for your build need administrator privileges?
A: No. Then you can use the hosted pool.
Q: Do you need to log on to the build server?
A: No. Then you can use the hosted pool.
You need to deploy your own build agent to do this.
Upvotes: 2