continuous-integration

Hudson -- windows slave running a shell script.

I am trying to run a shell script lets call it fml.sh on my windows slave machine. I have installed msys. I can run the script from cmd with the following call. C:\msys\1.0\bin\sh.exe -e -x "C:\path\to\fml.sh" Now in my build pre-build code I run that very same line from within hudson I get the following response. AllocationBase 0x7...

Solutions for automated deployment in developer environments?

I am setting up an automated deployment environment for a number of decoupled services that are in active development. While I am comfortable with the automated deployment/configuration management aspect, I am looking for strategies on how best to structure the deployment environment to make things a bit easier for developers. Some thi...

Do you synchronize your build script with IDE?

If you used the following: Continuous Integration using build scripts IDE for code development Do you run into problems of synchronizing your build scripts with the IDE build system? If so, how do you resolve this kind of issue? Using any environment (Java/.NET/etc) to explain the solution will do. I just want to get ideas on how peo...

Continuous integration with distributed source code control

I think I misunderstand something but can’t find what exactly. I googled, but didn't get the idea. There are two popular techniques – continuous integration and distributed source code control. People somehow combine them, but I don’t understand how. AFAIK, continuous integration means commit to the central repository (push) as soon as ...

hudson -- weekend builds vs. continuous builds (short time)

I have Hudson to run builds as soon as changes have been made to any of the repositories. There are some builds that I want to run once a week during the weekends, but with more special tests which take longer and I wouldn't want to run every time there is a change in one of the source repositories. Is there a way to pick and choose w...

Hudson context url

How can I change Hudson context url and access it something like http://localhost:8080/hudson instead of http://localhost:8080/? I'm using hudson standalone and is runing as a service on a fedora virtual machine. ...

hudson lastest builds being pushed to updatesite

I was wondering if there was a plugin or best practice for pushing the latest successful build of a hudson job. To a developer update site. This is particularly useful for the manual testers as well as getting to them the most up to date version of the product. Any comments and help is as always appreciated. xoxo, Gossip Girl. ps....

Teamcity not resolving artifacts from different agents?

Our Teamcity (5.0) builds are having trouble resolving artifacts from different build agents... So: Build "A" runs on Agent 1 Build "B" runs on Agent 2, and depends on an artifact from Build "A" However Agent 2 doesn't know about the artifact from Agent 1 and simply uses its own (outdated) artifact from the last time it ran Build "A"...

Should I use CruiseControl or write my own build software?

The project I'm working on consists of front-end development - HTML, CSS, Javascript and image files. I want to set up a build process which does the following. Monitors a CVS repository for changes On each commit, takes the committed files and uploads them to a server via FTP Future potential requirements: ** Run JSLint on the Javasc...

Build fail success environment variable

I was hoping to know if there is a way to run a particular script, if and only if the build is successful. So if the build fails the script doesn't run. Please and thank you. ...

Where to place the scripts

I have written several scripts for my hudson builds. I have place them in the workspace of the particular job i am working on. I was hoping to know where the best place to put the scripts. Is somewhere in the file system then best place? What if we move build machines? Does hudson designate a place for scripts? Please and thank you. ...

Looking for continuous integration host,or an alternate solution

Hi, We are a team of remote developers.We want to get CI into our project(dotnet 3.5).Are there any hosts providing CI solutions? If not,how can I go about setting this up?What are my options? thanks ...

In Hudson, how can you restore deleted builds?

I accidentally deleted some builds for a job that I would have rather kept. I restored the builds on disk from backup, but they still do not show up when I am on the status page for that job. I have tried both triggering another build for the job and re-starting Hudson. How can I fully-restore these builds? Is there a DB that Hudson us...

How do I unzip remotely during the automated deployment to our QA environment?

I'm trying to figure out a way to automate the deployment to our QA environment. The problem is that our release is quite big, so needs to be Zipped, FTP'd and then Unzipped on the QA server. I'm not sure how best to unzip remotely. I can think of a few options, but none of them sound right: Use PsExec to execute a remote commandline ...

WCF integration testing in TeamCity

I want my integration tests to run on each commit in TeamCity. What is the good way to get my WCF service running automatically for the tests? WCF service is part of the solution that is tested. Currently I self-host the service in the tests. host = new ServiceHost(typeof(...), url); But I can't apply my actual IIS configuration file...

Development Team Dashboards?

I'm looking to install a "dashboard" in our team area. This'll be an old PC or laptop, connected to a relatively large wall-mounted monitor. The plan is that it should show live build and test status, and other stuff. We're in a fairly open area, so it'd be good if it showed information useful to the team as well as to external people. ...

Where should unit tests live?

I'm relatively new to unit testing, and I've discovered that while many sources say that you should write unit tests, few of them give any indication where to put them in your project. The only suggestions that I've seen are to put them alongside the production code or to build a directory structure that mirrors your production code. T...

How do I get a graph of build times in TeamCity?

I want to keep track of our build times for different agents in TeamCity. How do I go about this? ...

NUnit expected exceptions

Hi I've got a set of test cases some of which are expected to throw exceptions. Because of this I have have set the attributes for these tests to expect exceptions like so: [ExpectedException("System.NullReferenceException")] When I run my tests locally all is good. However when I move my tests over to the CI server running TeamCity a...

All commit are generating two builds

I'm using Hudson integrated with my SVN repository. But I don't know why with some reason every commit is generating two commit? Maybe some misconfiguration of clock, server, SVN server? Some ideas? As @sbi asks the trigger is every commit in my svn server and thanks @William Leara I'll try update everything. ...