You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2018/02/28 23:03:01 UTC

[email] Jenkins not building

Can't figure out why: https://builds.apache.org/job/commons-email/

Thoughts from other Jenkins users?

Gary

AW: [email] Jenkins not building

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
I got the build running by injecting the required JAVA_1_6_HOME variable from $JDK_1_6_LATEST__HOME.
I had to restrict the job on label "ubuntu" because in the meanwhile a Win2003 server without any Maven installed tried to do the job - without success ;-)

https://builds.apache.org/job/commons-email/lastBuild/console
[ERROR] /home/jenkins/jenkins-slave/workspace/commons-email/src/main/java/org/apache/commons/mail/Email.java:[1436,21] cannot access java.lang.AutoCloseable

Of course - this is @since 1.7.


Jan


> -----Ursprüngliche Nachricht-----
> Von: Jan Matèrne (jhm) [mailto:apache@materne.de]
> Gesendet: Freitag, 2. März 2018 09:10
> An: 'Commons Developers List'
> Betreff: AW: [email] Jenkins not building
> 
> It seems that the job is failing, because the required environment
> variable JAVA_1_6_HOME is not set.
> (required by the 1.6-profile, defined in commons-parent).
> All available variables: https://builds.apache.org/job/commons-
> email/49/console
> 
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Jan Matèrne (jhm) [mailto:apache@materne.de]
> > Gesendet: Freitag, 2. März 2018 08:51
> > An: 'Commons Developers List'
> > Betreff: AW: [email] Jenkins not building
> >
> > I tried a build with additional -X maven parameter, but can't see any
> > helpful message.
> > https://builds.apache.org/job/commons-email/48/console
> >
> > I try something locally ...
> >
> >
> > Jan
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Gilles [mailto:gilles@harfang.homelinux.org]
> > > Gesendet: Donnerstag, 1. März 2018 00:30
> > > An: dev@commons.apache.org
> > > Betreff: Re: [email] Jenkins not building
> > >
> > > On Wed, 28 Feb 2018 18:26:33 -0500, Otto Fowler wrote:
> > > > Does this mean anything "Jenkins needs Java 7 for Maven jobs]
> > > > Using
> > > > -Pjava-1.6 JAVA_1_6_HOME is defined by the job, so may be
> > > > incorrect for some hosts Solution TBA”
> > >
> > > If this is the cause, copy the relevant parts from the "commons-
> rng"
> > > config. [IIRC, JDK8 is now required by Jenkins.]
> > >
> > > Gilles
> > >
> > > >
> > > >
> > > > On February 28, 2018 at 18:03:08, Gary Gregory
> > > > (garydgregory@gmail.com)
> > > > wrote:
> > > >
> > > > Can't figure out why: https://builds.apache.org/job/commons-
> email/
> > > >
> > > > Thoughts from other Jenkins users?
> > > >
> > > > Gary
> > >
> > >
> > > -------------------------------------------------------------------
> -
> > > - To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


AW: [email] Jenkins not building

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
It seems that the job is failing, because the required environment variable JAVA_1_6_HOME is not set.
(required by the 1.6-profile, defined in commons-parent).
All available variables: https://builds.apache.org/job/commons-email/49/console


Jan

> -----Ursprüngliche Nachricht-----
> Von: Jan Matèrne (jhm) [mailto:apache@materne.de]
> Gesendet: Freitag, 2. März 2018 08:51
> An: 'Commons Developers List'
> Betreff: AW: [email] Jenkins not building
> 
> I tried a build with additional -X maven parameter, but can't see any
> helpful message.
> https://builds.apache.org/job/commons-email/48/console
> 
> I try something locally ...
> 
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Gilles [mailto:gilles@harfang.homelinux.org]
> > Gesendet: Donnerstag, 1. März 2018 00:30
> > An: dev@commons.apache.org
> > Betreff: Re: [email] Jenkins not building
> >
> > On Wed, 28 Feb 2018 18:26:33 -0500, Otto Fowler wrote:
> > > Does this mean anything "Jenkins needs Java 7 for Maven jobs] Using
> > > -Pjava-1.6 JAVA_1_6_HOME is defined by the job, so may be incorrect
> > > for some hosts Solution TBA”
> >
> > If this is the cause, copy the relevant parts from the "commons-rng"
> > config. [IIRC, JDK8 is now required by Jenkins.]
> >
> > Gilles
> >
> > >
> > >
> > > On February 28, 2018 at 18:03:08, Gary Gregory
> > > (garydgregory@gmail.com)
> > > wrote:
> > >
> > > Can't figure out why: https://builds.apache.org/job/commons-email/
> > >
> > > Thoughts from other Jenkins users?
> > >
> > > Gary
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


AW: [email] Jenkins not building

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
I tried a build with additional -X maven parameter, but can't see any helpful message.
https://builds.apache.org/job/commons-email/48/console

I try something locally ...


Jan

> -----Ursprüngliche Nachricht-----
> Von: Gilles [mailto:gilles@harfang.homelinux.org]
> Gesendet: Donnerstag, 1. März 2018 00:30
> An: dev@commons.apache.org
> Betreff: Re: [email] Jenkins not building
> 
> On Wed, 28 Feb 2018 18:26:33 -0500, Otto Fowler wrote:
> > Does this mean anything "Jenkins needs Java 7 for Maven jobs] Using
> > -Pjava-1.6 JAVA_1_6_HOME is defined by the job, so may be incorrect
> > for some hosts Solution TBA”
> 
> If this is the cause, copy the relevant parts from the "commons-rng"
> config. [IIRC, JDK8 is now required by Jenkins.]
> 
> Gilles
> 
> >
> >
> > On February 28, 2018 at 18:03:08, Gary Gregory
> > (garydgregory@gmail.com)
> > wrote:
> >
> > Can't figure out why: https://builds.apache.org/job/commons-email/
> >
> > Thoughts from other Jenkins users?
> >
> > Gary
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [email] Jenkins not building

Posted by Gilles <gi...@harfang.homelinux.org>.
On Wed, 28 Feb 2018 18:26:33 -0500, Otto Fowler wrote:
> Does this mean anything "Jenkins needs Java 7 for Maven jobs] Using
> -Pjava-1.6 JAVA_1_6_HOME is defined by the job, so may be incorrect 
> for
> some hosts Solution TBA”

If this is the cause, copy the relevant parts from the "commons-rng"
config. [IIRC, JDK8 is now required by Jenkins.]

Gilles

>
>
> On February 28, 2018 at 18:03:08, Gary Gregory 
> (garydgregory@gmail.com)
> wrote:
>
> Can't figure out why: https://builds.apache.org/job/commons-email/
>
> Thoughts from other Jenkins users?
>
> Gary


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [email] Jenkins not building

Posted by Otto Fowler <ot...@gmail.com>.
Does this mean anything "Jenkins needs Java 7 for Maven jobs] Using
-Pjava-1.6 JAVA_1_6_HOME is defined by the job, so may be incorrect for
some hosts Solution TBA”


On February 28, 2018 at 18:03:08, Gary Gregory (garydgregory@gmail.com)
wrote:

Can't figure out why: https://builds.apache.org/job/commons-email/

Thoughts from other Jenkins users?

Gary