64 lines
2.3 KiB
XML
Executable File
64 lines
2.3 KiB
XML
Executable File
<tasks xmlns:cb="urn:ccnet.config.builder">
|
|
|
|
<!-- create artifact log dir - as new projects modification writer would fail otherwise -->
|
|
<exec executable="cmd.exe"
|
|
buildArgs="/C mkdir $(artifacts_dir)\buildlogs>>ignore.log 2>&1"
|
|
description="making artifacts logdir"
|
|
abortOnFail="false"
|
|
successExitCodes= "0,1" />
|
|
|
|
<modificationWriter pendingFilename = "modificationsPending.xml" logDir=".\buildlogs" postScript="$(RS_TOOLSROOT)\script\util\cruisecontrol\post_log_project_state.bat" postArgs="$(projectname)" />
|
|
|
|
<exec executable="cmd.exe"
|
|
buildArgs='/C echo "[colourise=grey]INFO_MSG: Custom CL Report http://$(dashboard)/ccnet/custom_reports/$(function)_project_state_aggregate.html"'
|
|
buildTimeoutSeconds="60"/>
|
|
|
|
<cb:include href="$(sync_tools_file)"/>
|
|
|
|
<cb:scope>
|
|
|
|
<exec>
|
|
<executable>ruby</executable>
|
|
<buildArgs>$(RS_TOOLSROOT)\lib\util\perforce\p4_sync.rb $(gamep4root)/build/$(buildbranch)/$(build_config)/...#head</buildArgs>
|
|
<abortOnFail>false</abortOnFail>
|
|
<description>Syncing build data</description>
|
|
<buildTimeoutSeconds>3600</buildTimeoutSeconds>
|
|
</exec>
|
|
|
|
</cb:scope>
|
|
|
|
<cb:scope solution="$(solution_file)">
|
|
<cb:scope target="$(targets)">
|
|
<cb:include href="$(task_exec_file)"/>
|
|
</cb:scope>
|
|
</cb:scope>
|
|
|
|
<cb:scope>
|
|
|
|
<exec executable="cmd.exe"
|
|
buildArgs="/C mkdir $(exportFolder)>>ignore.log 2>&1"
|
|
description="making lod light build folder"
|
|
abortOnFail="false"
|
|
successExitCodes= "0,1" />
|
|
|
|
<exec executable="cmd.exe"
|
|
buildArgs="/C erase /Q /F $(exportFolder)*.*>>ignore.log 2>&1"
|
|
description="erasing contents of lod light build folder"
|
|
abortOnFail="true"/>
|
|
|
|
<exec executable="$(le_executable)"
|
|
buildArgs='-level=$(game) -nopopups -exportall -exportFolder $(exportFolder) -scheduledcompile -aggressivecleanup -nulldriver'
|
|
buildTimeoutSeconds="10000"
|
|
baseDirectory="$(drive)\$(game)\build\$(buildbranch)"
|
|
abortOnFail="false"/>
|
|
|
|
<exec executable="cmd.exe"
|
|
buildArgs="/C %RS_TOOLSROOT%\bin\LightExtractionTool\CreateLODLightsZip.bat $(drive)\$(game)"
|
|
abortOnFail="false"
|
|
description="Takes the resultant imaps from the tool and packages them into the .zip in the appropriate folder"/>
|
|
|
|
</cb:scope>
|
|
|
|
<cb:include href="$(buildpublisher_file)"/>
|
|
|
|
</tasks> |