Continuous Integration

  • How to make CruiseControl.NET accept SSL certificate under Windows Server 2008?

    If you are running CruiseControl.NET under the Local System account and your SVN server certificate was issued by yourself (or by VisualSVN Server) you will quickly run into trouble. Normally if you run any command on your repository you will get this information: C:\Program Files\svn\bin>svn log https://your_server/svn/your_repository/trunk –username username –password password Error validating server certificate for ‘https://your_server:443′: – The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! – The certificate hostname does not match. Certificate information: – Hostname: your_server – Valid: from Sat, 26 Sep 2009 17:24:27 GMT until Tue, 24 Sep 2019 17:24:27 GMT – Issuer: your_server – Fingerprint: 24:8e:f6:ba:c7:a6:3f:69:32:c0:21:92:64:44:62:fe:2c:bb:b4:69 (R)eject,…

  • Buy Continuous Integration in .NET book

    The Continuous Integration in .NET book is available as an early access edition from MEAP. For those of you that are not familiar with MEAP it stands for Manning Early Access Program and it is the place where you can download a free chapter and buy the whole book printed or as an ebook before it gets published. You will get continuously chapter after chapter successively as they will be written.

  • Next big thing – continuous integration book

    I’m going to write a book about Continuous Integration in .NET for the Manning Publications. I’m sure I don’t have to tell you how exited am I. I will join the noble team of Manning authors like John Skeet, Ayende Rahien or Roy Osherove. I’ll keep you posted about the progress. In the mean time let me give you some history. I’ve once written an article for Software Developers Journal about Continuous Integration in .NET. It was very well received. I always thought I have a lot more to say in this topic. The idea to write a book came while speaking with my good friend hsd (well I have…

  • Writing MSBuild Custom Task

    Scenario: we have Subversion server to manage our source code and a build server (CruiseControl.NET) to manage our deployment. We have decided to automatically set the SVN revision number to our assembly version. [assembly: System.Reflection.AssemblyVersion("1.2.3.0")] [assembly: System.Reflection.AssemblyFileVersion("1.2.3.0")] So we will replace the last 0 with the current Subversion revision number. How to do this? One way to achieve this is to modify the AssemblyInfo.cs and read the modified number from that exists. The file modification is easy with MSBuild Community Task FileUpdate <FileUpdate Files="Cic.P001001PropertiesAssemblyInfo.cs" Regex="(d+).(d+).(d+).(d+)" ReplacementText="$1.$2.$3.$(RevisionNumber)" /> But how to read it back? Well there is no easy way. I have written a custom MSBuidl task to achieve this like…

  • ClickOnce i Continuous Integration

    Od wielu lat współpracowałem z wydawnictwem Software. Mój pierwszy artykuł opublikowałem gdzieś około 2003 roku. Publikowałem w Software 2.0, i w Software Developers Journal. Pisałem artykuły do PHP Solutions i dodatków Extra. Współpraca układała się całkiem dobrze i wszystko trwałoby pewnie jeszcze latami gdyby nie to jedno „ale”. Za mój pierwszy tekst otrzymałem największe honorarium w historii mojej współpracy z Software Wydawnictwo. Później z tekstu na tekst otrzymywałem coraz mniej. Najpierw „stroną maszynopisu” było 3800 znaków wraz z kodami, później, 3800 znaków bez spacji, później i bez kodów. Do tego widełki za „nakład pracy redakcyjnej” / naturalnie o ile zastosowane to tylko na minus. Nie wspominając już o tym, że…

  • Continuous Integration article in SDJ

    I would like to invite all my polish speaking readers to online version of my article about continuous integration in .NET. It was published in July 2007 in Software Developers Journal. You can find it in the download section of SDJ web page. You can read there about: setting up CI server with CruiseControl.NET creating one click build script with MSBuild incorporating unit testing and code coverage into CI process using WebDashboard and CCTray to control the process introducing code analyze with FxCop creating install file and deploying the project.