Skip to content

Pipeline jobs crashing on user names beginning with special characters

Summary

Pipeline jobs triggered by users with names beginning with special characters, are crashing. I'm not sure if this is related to just Ó or other special characters as well.

Steps to reproduce

Trigger a job with a user that has a special character in the beginning of his name.

Actual behavior

The job crashes with an error at \build_script528274052\script.ps1:151

Unexpected token 'lafur' in expression or statement. At C:...\build_script528274052\script.ps1:224 char:48

Expected behavior

Job should not crash.

Relevant logs and/or screenshots

This is the user's name: Ólafur Konráðsson

Environment description

GitLab Runner 10.0.0 on Windows 2012 Server, PowerShell executor.

Used GitLab Runner version

10.0.0

Edited by Gudjon