简体   繁体   中英

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. 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.

i have checked the character set and converted the file to UTF8-Without BOM but that doesn't seem to work.

Any direction to this ? If the makefiles for windows and linux is different than whats the difference there which could cause the problem.

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.

Apart from that, we can only guess what is on line 84 :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM