问题1、ObjectNotFound: (git:String) [], CommandNotFoundException
乱码
设置Unicode UTF-8 提供全球语言支持。也可以直接把系统语言改成英语
问题2、
The term ‘git’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At C:\WINDOWS\TEMP\build_script523212989\script.ps1:197 char:3
- & “git” “config” “-f” "E:\workspace\builds\sDk4VGpz\0\weaiove\backend …
-
+ CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
原因:git环境变量设置错误,一定要设到系统级环境变量
一定要设到系统级环境变量
一定要设到系统级环境变量
一定要设到系统级环境变量
一定要设到系统级环境变量
一定要设到系统级环境变量
一定要设到系统级环境变量
可参考
https://www.cnblogs.com/Teemo