Cannot register windows runner with '--shell cmd'
I think this may be related to the changes in !1406 (merged)
The documentation says you should be able to specify a cmd shell --shell value Select bash, cmd or powershell [%RUNNER_SHELL%]
When I register a runner it does not pick cmd even if I specify it on the command line
C:\Users\jadentom\Downloads\runner> .\gitlab-runner-windows-amd64.exe register -n -r XXXXXX -u https://git.XXXXX.com --executor shell --shell cmd
Q
The following config.toml is generated:
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "JTOMX01-PER-02"
url = "https://git.XXXXX.com"
token = "XXXXXX"
executor = "shell"
shell = "powershell"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
Edited by Jaden Tom