I 'think' it's all working now (I've been watching it over the last few commits).

I've added a readme.txt inside the lib\teamcity folder in source control explaining the steps required to add a new DB configuration to the NH build. An overview is:

1.  Add the required binaries to source-control;
2.  Add a config setup target in the teamcity.build file;
3. Add a database creation method in the TestDatabaseSetup (it could be empty if we can't automate DB creation);
4.  Add a the test results to source control to identify the passing tests.

The build creates test output that is checked back into source-control. (It's stripped of timing and environment information to allow an svn diff to look nicer.) If the tests fail, the build reports a comparison since the last run detailing which tests are new, ignored, now passing that previously failed, and failed that were previously passing.

The (stripped) test results are artefacts from each build: http://teamcity.codebetter.com/repository/download/bt324/21989:id/NHibernate-3.0.1.GA-debug/bin/net-3.5/test-results/NHibernate.Test.current-results.xml

As is the comparison report: http://teamcity.codebetter.com/repository/download/bt324/21989:id/NHibernate-3.0.1.GA-debug/bin/net-3.5/test-results/Comparison.txt

The build only fails if a previously passing test (for that dialect) now fails. This should keep our broken builds at a manageable level hopefully.

-----Original Message----- From: Richard Brown (gmail)
Sent: Sunday, February 20, 2011 7:13 PM
To: [email protected]
Subject: Re: [nhibernate-development] Multi-database Configurations

I've paused the Firebird build for now .... I need to investigate the
updating of the .config files ...

-----Original Message----- From: Patrick Earl
Sent: Sunday, February 20, 2011 6:46 PM
To: [email protected]
Subject: Re: [nhibernate-development] Multi-database Configurations

It's a good time to sneak in other breaking changes and avoid the blame. ;)

On Sun, Feb 20, 2011 at 11:39 AM, Richard Brown (gmail)
<[email protected]> wrote:
Sorry - I should mailed first to say ignore any extra build failure mails.

I was hoping it wouldn't affect the trunk build, but it's just failed. :-(

It'll be way more exciting once it works.  :-)

-----Original Message----- From: Patrick Earl Sent: Sunday, February 20,
2011 6:22 PM To: nhibernate-development Subject: [nhibernate-development]
Multi-database Configurations
Looks like Richard is working on other database configurations on the
build server.  Exciting stuff. :)

      Patrick


Reply via email to