I am trying to get Continuous Integration (Jenkins) going for our project using Unreal Engine 4.9 and
I have a whole load of questions about building from the command line.
But I’ll start with this one:
How do I build from the TopDown project from the command line?
You would want to change out the Project Argument and the archivedirectory Argument to match your requirements. Also this is for a BP project on the Binary Launcher, if you want to build a compiled project from a compiled source your would need to change the -nocompile -nocompileeditor to read -compile and -compilededitor.
A good reference as well for any other command line arguments you may want to set is to open the editor and run a packaging session manually from the settings in the engine that you desire then open the Output Log (Windows >> Developer Tools >>Output Log) and look for the following lines at the beginning of your packaging project.
Within the Automation.ParseCommandLine, you will see all the flag arguments you set based on the settings you established in the project. The only thing you will want to change when typing in the command window is the double quotation around the file paths.