हमारे पास एक एसवीएन भंडार बाहरी रूप से होस्ट किया गया है और हमारा बिल्ड सर्वर वर्तमान में आंतरिक है। कभी-कभी (शायद दिन में 1 या 2 बार) बिल्ड सर्वर नेटवर्क आउटेज, टाइमआउट या कुछ अन्य यादृच्छिक कारणों के कारण एसवीएन रिपॉजिटरी को खोजने में असमर्थ है। बाहरी रूप से होस्ट किए गए भंडार के साथ यह बचाना मुश्किल है, हालांकि जब यह एसवीएन भंडार को खोजने में विफल रहता है तो यह निर्माण में विफल रहता है!क्रूज़ कंट्रोल.NET बिल्ड विफल रहता है जब एसवीएन उपलब्ध नहीं है
मैं अगले अंतराल पर फिर कोशिश करने के लिए एक रास्ता खोजना चाहता हूं और एक अबाध भंडार से संबंधित किसी भी त्रुटि को अनदेखा करना चाहता हूं। क्या कोई जानता है मैं ऐसा कैसे कर सकता हूँ?
मैंने नीचे संदर्भ के लिए अपनी कॉन्फ़िगरेशन पोस्ट की है।
<project name="MyProject" queuePriority="0">
<workingDirectory>C:\RemovedForPost</workingDirectory>
<artifactDirectory>C:\RemovedForPost </artifactDirectory>
<sourcecontrol type="svn">
<trunkUrl>http://RemovedForPost \</trunkUrl>
<workingDirectory>source</workingDirectory>
<username>myuser</username>
<password>*****</password>
</sourcecontrol>
<triggers>
<intervalTrigger name="BuildAMinute" seconds="60" buildCondition="IfModificationExists" />
</triggers>
<tasks>
<msbuild>
<executable>C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable>
<workingDirectory>C:\RemovedForPost</workingDirectory>
<projectFile>C:\RemovedForPost\RemovedForPost.sln</projectFile>
<buildArgs>/noconsolelogger /p:Configuration=Debug /v:diag</buildArgs>
<targets>Build</targets>
<logger>C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
<timeout>120</timeout>
</msbuild>
<nunit>
<path>C:\Program Files\NUnit 2.5\bin\net-2.0\nunit-console.exe</path>
<outputfile>C:\RemovedForPost.xml</outputfile>
<assemblies>
<assembly> RemovedForPost </assembly>
</assemblies>
<timeout>60</timeout>
</nunit>
</tasks>
धन्यवाद
निश्चित रूप से लंगड़ा। मुझे वह समस्या भी है। +1। –