Testing changes to build script

This commit is contained in:
Rick Falkvinge
2014-11-14 01:46:41 +01:00
parent 633653cbef
commit db6305f6ee
3 changed files with 15 additions and 16 deletions
+8 -13
View File
@@ -75,16 +75,11 @@
</msbuild>
<!-- Precompile, assemble frontend -->
<exec executable="C:\Program Files (x86)\CruiseControl.Net\server\precompile.cmd" />
<!-- Deploy: only on success of all steps above -->
<!-- Deploy to staging: only on success of all steps above -->
<buildpublisher>
<sourceDir>C:\Lab\Swarmops\build\Site5-Deployment</sourceDir>
<publishDir>\\swarmops-dev\builddrop\swarmops\internal\frontend</publishDir>
<sourceDir>C:\Lab\Swarmops\build\Site5</sourceDir>
<publishDir>C:\Lab\Swarmops\build\Deploy-Staging\frontend-raw</publishDir>
<useLabelSubDirectory>false</useLabelSubDirectory>
<cleanPublishDirPriorToCopy>true</cleanPublishDirPriorToCopy>
<alwaysPublish>false</alwaysPublish>
@@ -92,7 +87,7 @@
<buildpublisher>
<sourceDir>C:\Lab\Swarmops\build\Backend\bin\Release</sourceDir>
<publishDir>\\swarmops-dev\builddrop\swarmops\internal\backend</publishDir>
<publishDir>C:\Lab\Swarmops\build\Deploy-Staging\backend</publishDir>
<useLabelSubDirectory>false</useLabelSubDirectory>
<cleanPublishDirPriorToCopy>true</cleanPublishDirPriorToCopy>
<alwaysPublish>false</alwaysPublish>
@@ -102,22 +97,22 @@
<exec>
<executable>cmd.exe</executable>
<buildArgs>/c echo %CCNetLabel% > \\swarmops-dev\builddrop\swarmops\internal\BuildIdentity.txt</buildArgs>
<buildArgs>/c echo %CCNetLabel% > C:\Lab\Swarmops\build\Deploy-Staging\BuildIdentity.txt</buildArgs>
</exec>
<exec>
<executable>cmd.exe</executable>
<buildArgs>/c git rev-parse HEAD > \\swarmops-dev\builddrop\swarmops\internal\CommitIdentity.txt</buildArgs>
<buildArgs>/c git rev-parse HEAD > C:\Lab\Swarmops\build\Deploy-Staging\CommitIdentity.txt</buildArgs>
</exec>
<exec>
<executable>cmd.exe</executable>
<buildArgs>/c git log -3 --pretty="%h: %B" > \\swarmops-dev\builddrop\swarmops\internal\CommitMessage.txt</buildArgs>
<buildArgs>/c git log -3 --pretty="%h: %B" > C:\Lab\Swarmops\build\Deploy-Staging\CommitMessage.txt</buildArgs>
</exec>
<exec>
<executable>cmd.exe</executable>
<buildArgs>/c echo %CCNetLabel% > \\swarmops-dev\builddrop\swarmops\internal\BuildDropped.txt</buildArgs>
<buildArgs>/c echo %CCNetLabel% > C:\Lab\Swarmops\build\Deploy-Staging\BuildDropped.txt</buildArgs>
</exec>
@@ -0,0 +1,7 @@
if not exist C:\Lab\Swarmops\build\Deploy-Staging\BuildDropped.txt goto testSprint
aspnet_compiler.exe -u -v / -p frontend-raw -f -fixednames -errorstack frontend
aspnet_merge.exe -o Swarmops.Site.dll frontend
:testSprint
echo ending
-3
View File
@@ -1,3 +0,0 @@
aspnet_compiler.exe -u -v / -p Site5 -f -fixednames -errorstack Site5-Deployment
aspnet_merge.exe -o Swarmops.Site.dll Site5-Deployment