How to commit into TortoiseSVN using cruise control config file

Posted by pratap on Stack Overflow See other posts from Stack Overflow or by pratap
Published on 2010-03-24T05:21:02Z Indexed on 2010/03/24 5:23 UTC
Read the original article Hit count: 378

Filed under:

hi all,

can any one tell how to commit into tortoisesvn using cruise control config file. I am getting an error "C:***\Documentation\trunk\dotnet\svn" is not executable or it may not exist.

here's the config part...

<workingDirectory>C:\*****\Documentation\trunk\dotnet\</workingDirectory>
     <category>Individual Solutions</category>
     <modificationDelaySeconds>10</modificationDelaySeconds>          
     <sourcecontrol type="svn">
      <trunkUrl>******* svn url *********</trunkUrl>
       <username> unname </username>
       <password> pwd </password>
       <autoGetSource>true</autoGetSource>
     </sourcecontrol>

     <tasks>

       <exec>
         <executable>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe</executable>
         <buildTimeoutSeconds>1200</buildTimeoutSeconds>
         <successExitCodes>0</successExitCodes>          
       </exec>

       <exec>
         <executable>iisreset</executable>
         <buildArgs>/stop</buildArgs>
       </exec>       

       <exec>
          <executable>c:\Program Files\TortoiseSVN\bin\TortoiseProc.exe /command:commit /path:"C:\*****\Documentation\trunk\dotnet\"</executable>          
         <buildTimeoutSeconds>1200</buildTimeoutSeconds>
         <successExitCodes>0</successExitCodes>
         <description>checkin shared content...</description>
       </exec>

       <exec>
         <executable>iisreset</executable>
         <buildArgs>/start</buildArgs>
       </exec>       
     </tasks>     
</project> 

Thank you all,

© Stack Overflow or respective owner

Related posts about tortoisesvn