Issue
I have a shell script that is executing correctly in git bash in my local. However, when the same has been executed via Jenkins with the same git bash as the shell environment, it is failing with "grep: -P supports only unibyte and UTF-8 locales".
My local environment is on Windows and Jenkins too is on windows.
Can anyone please explain?
Solution
This should work :
LC_ALL=en_US.utf8 grep ...
Answered By - Philippe
Answer Checked By - Gilberto Lyons (JavaFixing Admin)