[英]Jenkins makefile error
I am setting up CI for my project, the build works fine on linux but on windows it shows Makefile:84: *** missing separator. Stop.
我正在为我的项目设置 CI,该构建在 linux 上运行良好,但在 Windows 上它显示
Makefile:84: *** missing separator. Stop.
Makefile:84: *** missing separator. Stop.
. . What's interesting to see here is the same Makefile works fine on the local machine but not through Jenkins.
有趣的是,相同的 Makefile 在本地机器上运行良好,但不能通过 Jenkins 运行。
i have checked the character set and converted the file to UTF8-Without BOM but that doesn't seem to work.我已经检查了字符集并将文件转换为 UTF8-Without BOM,但这似乎不起作用。
Any direction to this ?任何方向? If the makefiles for windows and linux is different than whats the difference there which could cause the problem.
如果 windows 和 linux 的 makefile 与可能导致问题的差异有什么不同。
Make sure your line endings are set correctly.确保您的行尾设置正确。 Also make sure you use tabs and spaces as appropriate.
还要确保适当使用制表符和空格。
Check the versions of make
with make --version
- it might give you some hints.检查的版本
make
用make --version
-它可能给你一些提示。
Apart from that, we can only guess what is on line 84 :)除此之外,我们只能猜测第 84 行是什么:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.