Jenkins execution--> The requested operation requires elevation
- 8 years ago
I found this article:
working-with-jenkins/requirements-and-limitations
Had this snippet in it:
Provide Elevated Permissions for TestComplete
On Windows 8 and later, TestComplete requires elevated permissions for the run. Jenkins that is run through the Java Web Start agent application, cannot start TestComplete with required permissions, and will cause the build step to fail if it tries.
To run tests under Windows 8 and later, do any of the following:
Install the Java Web Start agent as a service. As a service, the agent has the required permissions and can start TestComplete. Make sure the "Run interactive user session" test step option is selected.
– or –
Connect to the slave by using the "Let Jenkins control this Windows slave as a Windows service" launch method. Make sure the "Run interactive user session" test step option is selected.
– or –
Disable support for testing Windows Store applications. With this option disabled, TestComplete can be run without elevated permissions.
The only thing I was able to do was the last item, Disable Support for Widows Store apps:
Tools/Options/Engines/General - uncheck "Enable support for Windows Store applications"
But once I did that the jenkins job stopped erroring with elevation error.