continuous-integration

Swapping test database connection code as a post-build step

When promoting or deploying a build, I'd like to automate swapping out a single database connection file. This could be done as either a post-build step or as a pre-packaging step before deployment. The file that's being swapped out is a test file; the file being swapped in should have the real database connection configuration. How ca...

CruiseControl access restriction: how?

I am currently testing CruiseControl + phpUnderControl for our PHP CI process and am stuck with a fairly simple question: is it possible to somehow restrict access to the web interface? I cannot seem to find anything indicating this is possible, but I am probably overlooking something. ...

A couple of questions regarding TeamCity

I've wanted to install a CI server for a big project for quite some time, but didn't have the time needed, nor the people above me cared too much about it, they just said "that's interesting, and it could save us some time" but never made anything for it... I alreayd had some experience with CC.NET, but just in small projects, and for t...

GitHub, Gerrit, Hudson workflow

I'm just getting started using GitHub, Gerrit, and Hudson together. And I need some thoughts on workflow. We'd like to use GitHub as our main remote repo. We'd like to use Gerrit primarily for code reviews, but also for build triggers in Hudson. At the moment, though, I'm having some trouble thinking through the workflow for this and w...

Version control, deployment and continuous testing in a single-person devteam (.NET platform)

I am the only developer in my company, and as such I control everything from deployment to bugfix to new features. My tool of choice is VS2010 and I code primarily in ASP.NET for new features and Classic ASP (sigh) for the bugfixes. I only have VS2010 Pro and I do not have access to any of the MS Team software. Now we are setting up a n...

What would you recommend for integration testing on PHP web application?

Hi there, I have been testing for a web-application written in PHP and JavaScript, and I am looking for integration testing tools that can be well communicated with a continuous integration server, potentially phpUnderControl. As an integration testing tool, I have used Selenium with Rspec which works just fine. This produces html file...

integrate commerce server with a Continuous integration server

Hi all, Our main application uses Commerce Server 2002, we are currently in the process of upgrading to 2009. I am looking into setting up CC.net for both apps. I have it pulling from SVN and starting the build but it will fail because Commerce Server is not installed so the DLL's are not there. I don't really want to do a full insta...

Hudson project without user interface

Hi, Can I configure, create/update the existing project in Hudson without using its user interface? Is it possible by changing configuration file or other mean? ...

Building hudson view present on the slave machine

Hi, Is it possible to build project present on the developer view present on different machine, not on the Hudson running machine? If so please provide me way. -Srinivas N ...

loader constraint violation

Hi, I encountered the problem of having the same .jar (for my case, el-api.jar v2.1)twice for one project, hence, the following error stack when I try to run my project using Tomcat 6. WARNING: Unexpected error forwarding to login page javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving i...

Mercurial changegroup hooks not triggered; Linux

I have a server which serves a "central" Mercurial repository; the team clones it and pushes their changes up to it via ssh. Hudson is installed on the same server (RHEL 5.5). I wish to trigger a Hudson build whenever anyone pushes to the central Mercurial repository. I also wish to send a notification email upon a push. In ProjectName/...

Why does Hudson ignore my profiles.xml file?

I have a Maven2 project, with a pom.xml and a profiles.xml files at the same level. The project configuration is provided by Maven profile properties: dbhost=${dbhost} dbport=${dbport} // etc. Locally, each developper customize his build in the "profiles.xml". It works well. For continuous integration, a ci "profiles.xml" has been pu...

Quick question regarding TeamCity dependencies

Ok, this may be a silly question, maybe my English knowledge, or "just" my comprehesnion level, is fooling me, but what is the difference between snapshot dependencies and dependency triggers? I guess the first means that when you build a project, TC makes sure the dependency is up to date, if it isn't it is rebuilt, and then it builds ...

What hardware improvements should we make to speed up our build machine?

We have a build machine running in our development department, which we've set up to build continuously throughout the working day. What this does is: Deletes the source code previously checked out (5 minutes) Does a clean checkout from subversion (15 minutes) Builds a whole bunch of C++ and .NET code (35 minutes) Builds installers and...

Recommended way to organize JSF big application on daily builds

We are working in a big team, building a web application in JSF, where each developer develops new task. For example: User Management, Security, System Parameters etc. We need to create a daily task to build the WAR from the SVN. We know how to use daily builder, SVN etc. Our question is how to save it per module? What is the recomme...

Tfs 2010 Build: Continuous Integration and Gated Check-In together?

I already have a CI build running on my Tfs2010 instance, but I'd like to get a Gated checkin build running as well. There are subtle differences between the ways I would like these two builds would run, however. Specifically, I'd like the Gated checkin to not produce bug workitems on failure, not associate changesets and workitems on bu...

Where to store the unit test classes?

So far I've always stored my unit test on my HDD, as I'm the only one in the company to actually care about them, but I'm thinking of cheking them in the repository in order to use them in my CI server, and look into code coverage, so I'm wondering... where do you find the corresponding projects to be better stored in a SVN repository? a...

Continuous Integration with Mercurial, MSBuild, ASP.NET

I recently moved from Subversion to Mercurial. I'd like to setup Continuous Integration (CI), but I'm unsure how a DVCS CI differs from an Subversion CI implementation. I'd like to hear how others have implemented their DVCS CI implementations and what tool sets were used. ...

Hudson /api/xml is not showing jobs configured

The URL http://localhost:8080/api/xml is not showing the jobs I already confitgured. The Job node is missing. I've jobs configured. The output of the url http://localhost:8080/api/xml is below. <hudson> <assignedLabel /> <mode>NORMAL</mode> <nodeDescription>the master Hudson node</nodeDescription> <nodeName /> <numExecut...

Continuous integration & eclipse plugin development

I am developing a set of eclipse plugins, and I have several JUnit plugin tests that actually start another instance of eclipse, create a mock workspace and a mock project and runs various operations on them. I want to put that on continuous integration and I am at loss as to where to start. I am using Hudson, would there be any plugins ...