Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 77201 invoked from network); 11 Feb 2008 23:23:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 23:23:37 -0000 Received: (qmail 20193 invoked by uid 500); 11 Feb 2008 23:23:30 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 19733 invoked by uid 500); 11 Feb 2008 23:23:29 -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 19722 invoked by uid 99); 11 Feb 2008 23:23:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 15:23: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 (athena.apache.org: domain of emmanuel.venisse@gmail.com designates 66.249.82.229 as permitted sender) Received: from [66.249.82.229] (HELO wx-out-0506.google.com) (66.249.82.229) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 23:22:59 +0000 Received: by wx-out-0506.google.com with SMTP id h28so6869979wxd.0 for ; Mon, 11 Feb 2008 15:23: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=zzbmfEIZtPHJGTnd54eDHKrvh0R2mlg5YJ58GaldKjE=; b=X6ZOC7Oj0LVqyU66z0CSWdHrTg4XwJBDBBmX3WQ4VcBPCgvKhRTebdQNA+64yTd20gyyHL95PjcgRD0MINo+aW4RsaS4N1m4Q/jJH0osNxyTnuOXXLE4LfoihCNTgQQs5C1+tw9d/yDv3z1e+Jfbk/FC9Ug5FXYM2LU9n5GXYKY= 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=E2oePJL5zrmOk4WwJYFmZSFzKuWqDfSinAGxg5kQmpcnLZ2LXvypazyzMHLPe8pQhEYxkwq0r9IvRnI1HroV8y4DUxF1O0gUpofbv3j+6CZ4Z+hA71YtmA8ZIDSlo5UgB76q5HAAMCBUZDmfuD4pxBsh74NN/uKGvKF/lSvmhRU= Received: by 10.70.92.5 with SMTP id p5mr367887wxb.33.1202772186241; Mon, 11 Feb 2008 15:23:06 -0800 (PST) Received: by 10.70.51.18 with HTTP; Mon, 11 Feb 2008 15:23:06 -0800 (PST) Message-ID: Date: Tue, 12 Feb 2008 00:23:06 +0100 From: "Emmanuel Venisse" To: continuum-users@maven.apache.org Subject: Re: How to make Continuum continue with the build even if there are some errors or failures? In-Reply-To: <41A3BED1DB16944EA46CC3114E5A7FF304D219EE@STPMSGMB01.corp.fairisaac.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13973_15353742.1202772186223" References: <41A3BED1DB16944EA46CC3114E5A7FF304C78545@STPMSGMB01.corp.fairisaac.com> <61ebb7260802071311x2f22d14cj879cef5ad297b0de@mail.gmail.com> <41A3BED1DB16944EA46CC3114E5A7FF304C7857F@STPMSGMB01.corp.fairisaac.com> <41A3BED1DB16944EA46CC3114E5A7FF304C786DC@STPMSGMB01.corp.fairisaac.com> <41A3BED1DB16944EA46CC3114E5A7FF304D2197E@STPMSGMB01.corp.fairisaac.com> <41A3BED1DB16944EA46CC3114E5A7FF304D219EE@STPMSGMB01.corp.fairisaac.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13973_15353742.1202772186223 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No, it isn't possible without to modify the Continuum sources. Emmanuel On Feb 11, 2008 11:58 PM, Tawfik, Sameh E wrote: > > > The "-Dmaven.tests.ignore.failure=true" might be working per module, > meaning it could be running all the tests that relate to one module even > if it encounters some error or failure on some tests, but the problem is > the exit code that Continuum detects from this run. > > So, if there is a method to make Continuum to ignore exit code 1, then > that would fix the problem. > > Do you know if this can be done? Is there is a settings or a parameter > that can be defined to make Continuum do that? > > Thanks, > > Sameh > > -----Original Message----- > From: Emmanuel Venisse [mailto:emmanuel.venisse@gmail.com] > Sent: Monday, February 11, 2008 2:00 PM > To: continuum-users@maven.apache.org > Subject: Re: How to make Continuum continue with the build even if there > are some errors or failures? > > Continuum check only the exit code. if it is 1, the process exit with > errors > so Continuum stop. > If "-Dmaven.tests.ignore.failure=true" doesn't work, it is a surefire > issue > that must be fixed in the plugin. > > Emmanuel > > On Feb 11, 2008 10:43 PM, Tawfik, Sameh E > wrote: > > > > > > > I've a project that consists of few modules. When Continuum runs "mvn > > test" on these modules, the build stops when one of the modules junit > > tests fails or if it has some errors. > > > > Is there is a way to force continuum to ignore the error exit code > when > > it counters an error or a failure when running the unit test on any > one > > of the modules so it would continue and go to the next modules? > > > > Our goal is to have one report that covers the results of running the > > unit tests on all the modules. > > > > I tried "-Dmaven.tests.ignore.failure=true" parameter but it does not > > have any effect on Continuum. It seems that when Continuum detects an > > exit error or failure code, it stops the build, so it seems the key to > > fix this problem is to force Continuum to ignore the exit code value > and > > continue with build. > > > > Does anyone know if this task can be done? > > > > 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. > > > > > 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_13973_15353742.1202772186223--