Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 53064 invoked from network); 7 Feb 2008 21:11:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 21:11:38 -0000 Received: (qmail 79090 invoked by uid 500); 7 Feb 2008 21:11:30 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 79056 invoked by uid 500); 7 Feb 2008 21:11:30 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 79045 invoked by uid 99); 7 Feb 2008 21:11:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 13:11:29 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache.maillist@gmail.com designates 72.14.246.245 as permitted sender) Received: from [72.14.246.245] (HELO ag-out-0708.google.com) (72.14.246.245) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 21:11:14 +0000 Received: by ag-out-0708.google.com with SMTP id 33so4186081agc.2 for ; Thu, 07 Feb 2008 13:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=wGShvNDtBbnV94OP+kdIyxKTJmEQu6xBcJw4ouFlyVs=; b=Yz2UAL4R1t+3iWUpgiZhUGOVqi2MIq4wDGVDTdscVJPg2H9zpop7QQVHgrDondgU0SAXIB+a7748A5y56HrcjBKK54gaVMrtxdLy3aELkhG3dGi/2cW1sJrVQWLfiuflxn0BK4Yeq6fdLFRIlE+r2atOCYHVSfl5AbHoOI0aBS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Rb+nhx2OAk7mrGNMXadF2HdqSNf9p2GOcxz/A3lRZiNJsN6K0BSRfaWDXXVLwTPI5Acm+e6Ytnr4dX0iuEcizW+cglpnLJVnEqirB4Y5MEtu6RkXeqeJm89yXw37H7tHwtyR0Uf4KtBuN9Yb07gb6/7ZuZC3sInEjanQC07t3lk= Received: by 10.150.145.20 with SMTP id s20mr4882009ybd.5.1202418666388; Thu, 07 Feb 2008 13:11:06 -0800 (PST) Received: by 10.150.153.6 with HTTP; Thu, 7 Feb 2008 13:11:06 -0800 (PST) Message-ID: <61ebb7260802071311x2f22d14cj879cef5ad297b0de@mail.gmail.com> Date: Thu, 7 Feb 2008 13:11:06 -0800 From: "L. J." To: continuum-users@maven.apache.org Subject: Re: How to make Continuum ignore the failed junit tests and continue with the build? In-Reply-To: <41A3BED1DB16944EA46CC3114E5A7FF304C78545@STPMSGMB01.corp.fairisaac.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10534_5065563.1202418666365" References: <41A3BED1DB16944EA46CC3114E5A7FF304C78545@STPMSGMB01.corp.fairisaac.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10534_5065563.1202418666365 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline -Dmaven.tests.ignore.failure=true On Feb 7, 2008 1:00 PM, Tawfik, Sameh E wrote: > > > > 1. Even though the build was not complete because of the failed junit > tests in on of the sub modules, Continuum sent an email indicating the > build is successful as follow: > > > [continuum] BUILD SUCCESSFUL: MB1C 1.0 - Build Def: default maven2 > buildDefinition > > > In the build output results, the following is displayed: > > Results : > > Tests in error: > > Tests run: 502, Failures: 0, Errors: 2, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > > Please refer to > C:\Auto_Builds\working-directory\81\mb1c-dataaccess\target\surefire-repo > rts for the individual test results. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9 minutes 48 seconds > [INFO] Finished at: Thu Feb 07 12:35:57 PST 2008 > [INFO] Final Memory: 18M/48M > [INFO] > ------------------------------------------------------------------------ > > 2. My project has a parent pom.xml and multiple sub modules, and the > build stops when one of the junit tests fails, so is there is a way > where I can instruct Continuum to ignore the tests results and continue > with the build? > > We need to know about all the failed tests from all the modules from a > complete run, instead one at a time. > > Thanks, > > Sameh > This email and any files transmitted with it are confidential, proprietary > and intended solely for the individual or entity to whom they are > addressed. > If you have received this email in error please delete it immediately. > > ------=_Part_10534_5065563.1202418666365--