Make PowerShell default for new registered Windows shell executors
What does this MR do?
Make PowerShell default for Windows shell executor
Why was this MR needed?
When a user registers a new Shell executor cmd
is the default shell.
In 11.11 Windows Batch was deprecated
https://about.gitlab.com/2019/05/22/gitlab-11-11-released/#support-for-windows-batch-is-now-deprecated.
For new registered Runners Powershell should be the default shell used
to increase adoption of PowerShell, the user still has the option to go
back to cmd
if they specify it.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased
What are the relevant issue numbers?
Reference #4163 (closed)