Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CronofearGameworks authored Jun 21, 2018
1 parent 6e9b3b7 commit 57386ed
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 0 deletions.
28 changes: 28 additions & 0 deletions build-scripts/LogParsers/1-CompilationLogParse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# For more information about this LogParser syntax. Look for "Jenkins Log Parser Plugin".
#
# This Parser is only interested in C++ build compilation.
#

# Ignore this errors, warnings or infos
ok /LoadErrors/
ok /logdatabase error/

# Error Lines (i.e. "error /Test Failed/" mark as error any line that contains "Test Failed")
error /Error/

# Warnings here
warning /Warning/

# Info Here
info /Total build time/
info /Reflection code generated/

# Sections
start /Step1_DeleteAutoGenerated/
start /Step2_StartBuild/
start /Step3_CompileScripts_Win64/
start /Step4_RunTests/
start /Step5_BuildFiles_Win64/
start /Step6_Optional_CookProject_Win64/
start /Step7_Archive/
21 changes: 21 additions & 0 deletions build-scripts/LogParsers/2-TestLogParse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# For more information about this LogParser syntax. Look for "Jenkins Log Parser Plugin".
#
# This TestLogParser is only interested in the functional tests. Any other warning/error will be ignored.
#

# Error Lines (i.e. "error /Test Failed/" mark as error any line that contains "Test Failed")
error /Test Failed/

# Info Here
info /AutomationTestingLog/
info /Automation Test Succeeded/

# Sections
start /Step1_DeleteAutoGenerated/
start /Step2_StartBuild/
start /Step3_CompileScripts_Win64/
start /Step4_RunTests/
start /Step5_BuildFiles_Win64/
start /Step6_Optional_CookProject_Win64/
start /Step7_Archive/
38 changes: 38 additions & 0 deletions build-scripts/LogParsers/3-PackageLogParse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# For more information about this LogParser syntax. Look for "Jenkins Log Parser Plugin".
#
# This LogParser is only interested in Package Errors.
#

# Ignore this errors, warning or info
ok /LoadErrors/
ok /logdatabase error/
ok /S_LightError.uasset/
ok /Error Summary/

# Error Lines (i.e. "error /Test Failed/" mark as error any line that contains "Test Failed")
error /Error/

# Warnings here
warning /Warning/

# Info Here
info /Misc Cook Stats/
info /Cook Profile/
info /DDC Summary Stats/
info /DDC Resource Stats/
info /7-Zip/

# Sections
start /Step1_DeleteAutoGenerated/
start /Step2_StartBuild/
start /Step3_CompileScripts_Win64/
start /Step4_RunTests/
start /Step5_BuildFiles_Win64/
start /Step6_Optional_CookProject_Win64/
start /Step7_Archive/
start /BUILD COMMAND STARTED/
start /COOK COMMAND STARTED/
start /STAGE COMMAND STARTED/
start /PACKAGE COMMAND STARTED/
start /ARCHIVE COMMAND STARTED/
3 changes: 3 additions & 0 deletions build-scripts/RunJenkinsAsDesktopMode.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CD "C:\Program Files (x86)\Jenkins"
javaw -Dhudson.util.ProcessTree.disable=true -jar jenkins.war --httpListenAddress=localhost --httpPort=666
exit
5 changes: 5 additions & 0 deletions build-scripts/Step1_DeleteAutoGenerated.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if exist C:\ProjectName\_JenkinsCICD\Project\.vs rmdir /s /Q C:\ProjectName\_JenkinsCICD\Project\.vs
if exist C:\ProjectName\_JenkinsCICD\Project\Intermediate rmdir /s /Q C:\ProjectName\_JenkinsCICD\Project\Intermediate
if exist C:\ProjectName\_JenkinsCICD\Project\Binaries rmdir /s /Q C:\ProjectName\_JenkinsCICD\Project\Binaries
if exist C:\ProjectName\_JenkinsCICD\Project\Saved rmdir /s /Q C:\ProjectName\_JenkinsCICD\Project\Saved
if exist C:\ProjectName\_JenkinsCICD\Project\Build rmdir /s /Q C:\ProjectName\_JenkinsCICD\Project\Build
1 change: 1 addition & 0 deletions build-scripts/Step2_StartBuild.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"C:\Program Files\Epic Games\UE_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe" -projectfiles -project="C:\ProjectName\_JenkinsCICD\Project\Project.uproject" -game -rocket -progress
1 change: 1 addition & 0 deletions build-scripts/Step3_CompileScripts_Win64.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" ProjectEditor Win64 development "C:\ProjectName\_JenkinsCICD\Project\Project.uproject" -waitmutex
2 changes: 2 additions & 0 deletions build-scripts/Step4_RunTests.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"C:\Program Files\Epic Games\UE_4.19\Engine\Binaries\Win64\UE4Editor.exe" "C:\ProjectName\_JenkinsCICD\Project\Project.uproject" -ExecCmds="Automation RunTests Functional Tests" -testexit="Automation Test Queue Empty" -unattended -nopause -log=autolog.txt -Windowed -ResX=1920 -ResY=1080 -Game -silent -nologtimes
type "C:\ProjectName\_JenkinsCICD\Project\Saved\Logs\autolog.txt"
1 change: 1 addition & 0 deletions build-scripts/Step5_BuildFiles_Win64.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -project="C:\ProjectName\_JenkinsCICD\Project\Project.uproject" -noP4 -platform=Win64 -clientconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory="C:\ProjectName\_JenkinsCICD\Builds"
1 change: 1 addition & 0 deletions build-scripts/Step6_Optional_CookProject_Win64.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -project="C:\ProjectName\_JenkinsCICD\Project\Project.uproject" -noP4 -platform=Win64 -clientconfig=Development -cook -allmaps -NoCompile -stage -pak -archive -archivedirectory="C:\ProjectName\_JenkinsCICD\Builds"
3 changes: 3 additions & 0 deletions build-scripts/Step7_Archive.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set "str=%~1"
cd C:\_ProjectNil\_JenkinsCICD\Builds
"C:\Program Files\7-Zip\7z.exe" a Project_Nil_%str%.zip C:\ProjectName\_JenkinsCICD\Builds\WindowsNoEditor\*

0 comments on commit 57386ed

Please sign in to comment.