cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Releasing from trunk
Date Wed, 07 Feb 2007 19:26:57 GMT
Jorg Heymans wrote:
> So for me, currently, the best solution ATM for CI would be to cron 
> something like this:
> 
> #!/bin/bash
> rm -fr ~/.m2/repository

Or:
   rm -rf ~/.m2/repository/org/apache/cocoon

> cd src/cocoon-trunk
> svn update
> mvn clean install > ~/cocoon-build.log 2>&1
> if [ "$?" -ne "0" ]; then
>   some_mail_foo_to_send_the_file_to_dev@

It's actually simple...

     MAILFILE=/home/vadim/cocoon-test-mail-`date '+%Y%m%d'`.txt
     echo "From: Vadim Gritsenko <vadim@nagoya.apache.org>"      >  $MAILFILE
     echo Subject: Cocoon-2.1.X Tests Failure `date '+%m/%d/%y'` >> $MAILFILE
     ...
     mail -t dev@cocoon.apache.org < $MAILFILE

> fi
> 
> 
> Vadim, didn't you have something similar running for Cocoon 2.1 ?

I did but it was largely ignored. :) hm. :(

I also had clover reports on top.

Vadim

> Regards
> Jorg
> 
> [1] https://hudson.dev.java.net/
> [2] 
> http://weblogs.java.net/blog/kohsuke/archive/2007/02/maven_2_integra.html


Mime
View raw message