Search code examples
gitpowershellshellgitlabgitlab-ci-runner

Can't run gitlab runner with shell


This is the error I am getting, I have no clue what is wrong. enter image description here


Solution

  • The path to the powershell executable is not in your environmental PATH variable. This can be verified with:

    echo $env:path
    

    To add the path you your Powershell enter:

    $env:path="$env:path;C:\system32\WindowsPowerShell\v1.0"
    

    You will need to verify the location on you local system and verify the version accordingly.