Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (37 sloc) 1.92 KB
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.microsoft.com/developer/msbuild/2003 ..\Schemas\Microsoft.Build.xsd">
<UsingTask
AssemblyFile="$(TasksRootFolder)Build.RightScaleAutomation\BuildTasks.RightScaleAutomation.dll"
TaskName="LaunchRSServer" />
<UsingTask
AssemblyFile="$(TasksRootFolder)Build.RightScaleAutomation\BuildTasks.RightScaleAutomation.dll"
TaskName="RefreshApplication" />
<UsingTask
AssemblyFile="$(TasksRootFolder)Build.RightScaleAutomation\BuildTasks.RightScaleAutomation.dll"
TaskName="TerminateWithWait"/>
<Target Name="LaunchDevTestServer" DependsOnTargets="TerminateWithWait">
<LaunchRSServer OAuthRefreshToken="$(RSAPIOAuth2RefreshToken)"
ServerID="$(RSDevTestServerID)"
ROSPackageName="$(UploadBlobName)"
ROSPackageContainer="$(StorageContainerName)"
ROSAccountID="$(StorageAccountName)"
ROSAccountKey="$(StorageAccountKey)"
ROSProviderName="Windows_Azure_Storage"/>
</Target>
<Target Name="UpdateCITestServer">
<RefreshApplication OAuthRefreshToken="$(RSAPIOAuth2RefreshToken)"
ServerID="$(RSCITestServerID)"
ROSPackageName="$(UploadBlobName)"
ROSPackageContainer="$(StorageContainerName)"
ROSAccountID="$(StorageAccountName)"
ROSAccountKey="$(StorageAccountKey)"
ROSProviderName="Windows_Azure_Storage"
RightScriptID="$(RedeployRightScriptID)"/>
</Target>
<Target Name="TerminateWithWait">
<TerminateWithWait OAuthRefreshToken="$(RSAPIOAuth2RefreshToken)"
ServerID ="$(RSDevTestServerID)"/>
</Target>
</Project>