<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: cruisecontrol]]></title>
    <link>http://www.securityratty.com/tag/cruisecontrol</link>
    <description></description>
    <pubDate>Fri, 18 Jan 2008 04:26:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[NCover.Console requires admin privileges]]></title>
      <link>http://www.securityratty.com/article/6f071044aafff69394e3499ccfdc7770</link>
      <guid>http://www.securityratty.com/article/6f071044aafff69394e3499ccfdc7770</guid>
      <description><![CDATA[In my quest to get unit testing and code coverage, I was disappointed to find that NCover requires administrative privileges to run. I posted on their forum about this , and was informed that the...]]></description>
      <content:encoded><![CDATA[<p>In my quest to get unit testing and code coverage, I was disappointed to find that <a href="http://www.ncover.com/" target="_blank">NCover</a> requires administrative privileges to run. <a href="http://www.ncover.com/forum/show_topic/432" target="_blank">I posted on their forum about this</a>, and was informed that the authors "haven't had a good enough reason" to fix the problem.</p> <p>So right now, if you want to use NCover in your <a href="http://confluence.public.thoughtworks.org/display/CCNET" target="_blank">CruiseControl</a> implementation, you're going to need to run the CruiseControl service under a user account with admin privileges. That's just wrong. I offered my help - I hope they will take me up on it.</p> <p>I'm a bit surprised that I didn't see more of an outcry about this. I spent a bit of time searching and found some posts by NCover guys saying that NCover.Console requires admin privileges to run, but I didn't find anyone questioning that.</p> <p>Wow. Are people regularly running CruiseControl with admin privileges? Or is nobody using NCover? Inquiring minds want to know...</p><div style="clear:both;"></div><img src="http://pluralsight.com/community/aggbug.aspx?PostID=50002" width="1" height="1">]]></content:encoded>
      <pubDate>Mon, 21 Jan 2008 13:11:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/ncover">ncover</category>
      <category domain="http://www.securityratty.com/tag/admin privileges">admin privileges</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol">cruisecontrol</category>
      <category domain="http://www.securityratty.com/tag/ncover guys">ncover guys</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol service">cruisecontrol service</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol implementation">cruisecontrol implementation</category>
      <category domain="http://www.securityratty.com/tag/people regularly">people regularly</category>
      <category domain="http://www.securityratty.com/tag/user account">user account</category>
      <category domain="http://www.securityratty.com/tag/code coverage">code coverage</category>
      <source url="http://pluralsight.com/community/blogs/keith/archive/2008/01/21/50002.aspx">NCover.Console requires admin privileges</source>
    </item>
    <item>
      <title><![CDATA[NCover.Console requires admin privileges]]></title>
      <link>http://www.securityratty.com/article/d898a28be38be6dfa14ed8d4aea1b11f</link>
      <guid>http://www.securityratty.com/article/d898a28be38be6dfa14ed8d4aea1b11f</guid>
      <description><![CDATA[In my quest to get unit testing and code coverage, I was disappointed to find that NCover requires administrative privileges to run. I posted on their forum about this , and was informed that the...]]></description>
      <content:encoded><![CDATA[<p>In my quest to get unit testing and code coverage, I was disappointed to find that <a href="http://www.ncover.com/" target="_blank">NCover</a> requires administrative privileges to run. <a href="http://www.ncover.com/forum/show_topic/432" target="_blank">I posted on their forum about this</a>, and was informed that the authors "haven't had a good enough reason" to fix the problem.</p> <p>So right now, if you want to use NCover in your <a href="http://confluence.public.thoughtworks.org/display/CCNET" target="_blank">CruiseControl</a> implementation, you're going to need to run the CruiseControl service under a user account with admin privileges. That's just wrong. I offered my help - I hope they will take me up on it.</p> <p>I'm a bit surprised that I didn't see more of an outcry about this. I spent a bit of time searching and found some posts by NCover guys saying that NCover.Console requires admin privileges to run, but I didn't find anyone questioning that.</p> <p>Wow. Are people regularly running CruiseControl with admin privileges? Or is nobody using NCover? Inquiring minds want to know...</p><div style="clear:both;"></div><img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=50002" width="1" height="1">]]></content:encoded>
      <pubDate>Mon, 21 Jan 2008 13:11:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/ncover">ncover</category>
      <category domain="http://www.securityratty.com/tag/admin privileges">admin privileges</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol">cruisecontrol</category>
      <category domain="http://www.securityratty.com/tag/ncover guys">ncover guys</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol service">cruisecontrol service</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol implementation">cruisecontrol implementation</category>
      <category domain="http://www.securityratty.com/tag/people regularly">people regularly</category>
      <category domain="http://www.securityratty.com/tag/user account">user account</category>
      <category domain="http://www.securityratty.com/tag/code coverage">code coverage</category>
      <source url="http://www.pluralsight.com/community/blogs/keith/archive/2008/01/21/50002.aspx">NCover.Console requires admin privileges</source>
    </item>
    <item>
      <title><![CDATA[NCover.Console requires admin privileges]]></title>
      <link>http://www.securityratty.com/article/5684dcdcbcd840227d80fb2bb65c68ad</link>
      <guid>http://www.securityratty.com/article/5684dcdcbcd840227d80fb2bb65c68ad</guid>
      <description><![CDATA[In my quest to get unit testing and code coverage, I was disappointed to find that NCover requires administrative privileges to run. I posted on their forum about this , and was informed that the...]]></description>
      <content:encoded><![CDATA[<p>In my quest to get unit testing and code coverage, I was disappointed to find that <a href="http://www.ncover.com/" target="_blank">NCover</a> requires administrative privileges to run. <a href="http://www.ncover.com/forum/show_topic/432" target="_blank">I posted on their forum about this</a>, and was informed that the authors "haven't had a good enough reason" to fix the problem.</p> <p>So right now, if you want to use NCover in your <a href="http://confluence.public.thoughtworks.org/display/CCNET" target="_blank">CruiseControl</a> implementation, you're going to need to run the CruiseControl service under a user account with admin privileges. That's just wrong. I offered my help - I hope they will take me up on it.</p> <p>I'm a bit surprised that I didn't see more of an outcry about this. I spent a bit of time searching and found some posts by NCover guys saying that NCover.Console requires admin privileges to run, but I didn't find anyone questioning that.</p> <p>Wow. Are people regularly running CruiseControl with admin privileges? Or is nobody using NCover? Inquiring minds want to know...</p><img src ="http://pluralsight.com/blogs/keith/aggbug/50002.aspx" width = "1" height = "1" />]]></content:encoded>
      <pubDate>Mon, 21 Jan 2008 06:11:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/ncover">ncover</category>
      <category domain="http://www.securityratty.com/tag/admin privileges">admin privileges</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol">cruisecontrol</category>
      <category domain="http://www.securityratty.com/tag/ncover guys">ncover guys</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol service">cruisecontrol service</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol implementation">cruisecontrol implementation</category>
      <category domain="http://www.securityratty.com/tag/people regularly">people regularly</category>
      <category domain="http://www.securityratty.com/tag/user account">user account</category>
      <category domain="http://www.securityratty.com/tag/code coverage">code coverage</category>
      <source url="http://pluralsight.com/blogs/keith/archive/2008/01/21/50002.aspx">NCover.Console requires admin privileges</source>
    </item>
    <item>
      <title><![CDATA[Turning on cruise control]]></title>
      <link>http://www.securityratty.com/article/04685098678ed776383923a3a7480316</link>
      <guid>http://www.securityratty.com/article/04685098678ed776383923a3a7480316</guid>
      <description><![CDATA[I spent most of the day yesterday getting CruiseControl.NET set up here at Pluralsight . We're always working on little projects (well, some larger than others) and making use of continuous...]]></description>
      <content:encoded><![CDATA[<p>I spent most of the day yesterday getting <a href="http://www.cruisecontrol.net" target="_blank">CruiseControl.NET</a> set up here at <a href="http://www.pluralsight.com" target="_blank">Pluralsight</a>. We're always working on little projects (well, some larger than others) and making use of continuous integration seemed like a great idea. I was surprised how easy it was to get started with it. <a href="http://www.pluralsight.com/blogs/craig" target="_blank">Craig</a> was the impetus behind this effort, of course.</p> <p>The best tip I can offer for you if you're thinking of installing and using CruiseControl.NET is to notice that there are actually two versions of the server, ccnet.exe and ccservice.exe. These do exactly the same thing, only one runs from the command line and the other runs in the background as a service. When you log in as an administrator and run ccnet.exe it naturally runs very smoothly. And this is where I started, with a very simple project that downloads code from one of our <a href="http://svnbook.red-bean.com/" target="_blank">Subversion</a> repositories. Once I got a <a href="http://nant.sourceforge.net/" target="_blank">NANT</a> script working to build and deploy the code (I forgot how much I loved <a href="http://ant.apache.org/" target="_blank">ANT</a>; such a great idea for handling builds), I used ccnet to start testing the build under CruiseControl.</p> <p>Once I debugged my NANT script and ccnet configuration, I tried flipping over to the service, and of course it simply didn't work. Naturally I wanted to run the service under a <a href="http://www.pluralsight.com/wiki/default.aspx/Keith.GuideBook/HowToChooseAnIdentityForADaemon.html" target="_blank">low-privilege account</a>, but that account didn't have permissions to write to the CruiseControl log file, didn't have credentials to download files from our subversion repository, didn't have permissions to write those files to the working directory or deploy to the deployment folder. So here's the key: instead of debugging all of this using ccservice, just use <a href="http://technet2.microsoft.com/windowsserver/en/library/0a688988-b5d1-494a-be98-61e3434c57151033.mspx?mfr=true" target="_blank">runas</a> to run a command prompt under the same user account that you plan to use for the service. Once I did that, I was able to figure out exactly what things I needed to do, from caching Subversion credentials in the user profile for the account, to setting up appropriate ACLs so the account could move files around and write to CruiseControl logs (which I also moved out of CruiseControl's program directory).</p> <p>Once I got ccnet.exe working properly under the low-privilege account, I switched back to using the service, and voila! We now have a functioning installation of CruiseControl.</p><img src ="http://pluralsight.com/blogs/keith/aggbug/49967.aspx" width = "1" height = "1" />]]></content:encoded>
      <pubDate>Fri, 18 Jan 2008 04:26:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/cruisecontrol">cruisecontrol</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol logs">cruisecontrol logs</category>
      <category domain="http://www.securityratty.com/tag/account">account</category>
      <category domain="http://www.securityratty.com/tag/cruisecontrol log file">cruisecontrol log file</category>
      <category domain="http://www.securityratty.com/tag/log">log</category>
      <category domain="http://www.securityratty.com/tag/low-privilege account">low-privilege account</category>
      <category domain="http://www.securityratty.com/tag/ccnet configuration">ccnet configuration</category>
      <category domain="http://www.securityratty.com/tag/ccnet">ccnet</category>
      <category domain="http://www.securityratty.com/tag/files">files</category>
      <source url="http://pluralsight.com/blogs/keith/archive/2008/01/18/49967.aspx">Turning on cruise control</source>
    </item>
  </channel>
</rss>
