grep: -P supports only unibyte and UTF-8 locales in Jenkins

前端 未结 1 1640
半阙折子戏
半阙折子戏 2021-01-26 07:00

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,

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-26 07:27

    This should work :

    LC_ALL=en_US.utf8 grep ...
    

    0 讨论(0)
提交回复
热议问题