"In order to build lighting by command line use the following structure to set it up as a basis:
UE4-Editor.exe [Project Folder Path] -run=resavepackages -buildlighting -MapsOnly -ProjectOnly -AllowCommandletRendering -Map=[Name of map]
The -Map=[Map Name] can be dropped if you want it to build all the maps/levels available in the project."
This work for us. Make sure that you check out map files that you want to build. Read only map files are skipped.