You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi all,
I am getting this error whilst trying to start WinAppDriver.exe when running bitbuckets pipeline. Does anyone know how I ensure it runs as admin when running via bitbuckets pipeline?
System.ComponentModel.Win32Exception : Permission denied at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
Thank you,
Hello @Luis Castro ,
Welcome to Atlassian Community.
The application you are trying to execute seems to be a Windows executable. In this case, could you please confirm if you are using bitbucket windows runners ?
If yes, you could open the PowerShell windows as an Administrator and then execute the /start.ps1 script to start the runner from that admin PowerShell session.
Also, make sure you have met all the pre-requisites to use windows runners outlined in the below documentation :
If that does not work, please share your bitbucket-pipelines.yml file with us so we can take a deeper look.
Thank you, @Luis Castro .
Kind regards,
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.