<conditional>
   <conditions>
      <andConditions>
         <conditions>
            <buildCondition value="FullBuild" />
            <statusCondition value="Success" />
            <folderExistsCondition folder="\\publicationServer\c$\inetpub\Webproject\" />
            <orConditions>
               <conditions>
                  <fileExistsCondition file="d:\Buildfolder\Webproject\project.csproj" />
                  <fileExistsCondition file="d:\Buildfolder\Webproject\webProject.csproj" />
               </conditions>
            </orConditions>
            <urlPingCondition url="http:\MyWebsite\WebProject\default.aspx" />
         </conditions>
      </andConditions>
   </conditions>
   <tasks>
      <commentTask message="publish web site" />
   </tasks>
   <elseTasks>
      <errorTask message="error deploying website" />
   </elseTasks>
</conditional>

Last edited Dec 3, 2009 at 10:50 PM by LasseSjorup, version 2

Comments

No comments yet.