[RNG] Help with Jenkins

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[RNG] Help with Jenkins

Gilles Sadowski
Hi.

Jenkins fails because the POM of the "commons-rng-examples"
(correctly) requires Java 1.7 while the Jenkins job config
uses the 1.6 maven profile.[1]

Does someone know how to fix that?


Thanks,
Gilles

[1] See "Goals and options" at
       
https://builds.apache.org/view/Apache%20Commons/job/Commons_Rng/configure


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [RNG] Help with Jenkins

Olivier Lamy
fixed

On 22 November 2016 at 09:51, Gilles <[hidden email]> wrote:

> Hi.
>
> Jenkins fails because the POM of the "commons-rng-examples"
> (correctly) requires Java 1.7 while the Jenkins job config
> uses the 1.6 maven profile.[1]
>
> Does someone know how to fix that?
>
>
> Thanks,
> Gilles
>
> [1] See "Goals and options" at
>       https://builds.apache.org/view/Apache%20Commons/job/Commons_
> Rng/configure
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
Reply | Threaded
Open this post in threaded view
|

Re: [RNG] Help with Jenkins

Gilles Sadowski
Hi.

On Tue, 22 Nov 2016 15:47:16 +1100, Olivier Lamy wrote:
> fixed

Thanks for taking care, but it doesn't look like it is fixed:
   https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG/

Best regards,
Gilles

>
> On 22 November 2016 at 09:51, Gilles <[hidden email]>
> wrote:
>
>> Hi.
>>
>> Jenkins fails because the POM of the "commons-rng-examples"
>> (correctly) requires Java 1.7 while the Jenkins job config
>> uses the 1.6 maven profile.[1]
>>
>> Does someone know how to fix that?
>>
>>
>> Thanks,
>> Gilles
>>
>> [1] See "Goals and options" at
>>       https://builds.apache.org/view/Apache%20Commons/job/Commons_
>> Rng/configure
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

AW: [RNG] Help with Jenkins

Jan Matèrne (jhm)
Could not find resource 'pmd/pmd-ruleset.xml'.


Havent found something in the job config.
Maven is started with
"clean deploy --batch-mode -Dgpg.skip -Prelease -Pjava-1.6 -DJAVA_1_6_HOME=$JDK_1_6_LATEST__HOME pmd:pmd findbugs:findbugs checkstyle:checkstyle"



Jan

> -----Ursprüngliche Nachricht-----
> Von: Gilles [mailto:[hidden email]]
> Gesendet: Dienstag, 22. November 2016 13:18
> An: [hidden email]
> Betreff: Re: [RNG] Help with Jenkins
>
> Hi.
>
> On Tue, 22 Nov 2016 15:47:16 +1100, Olivier Lamy wrote:
> > fixed
>
> Thanks for taking care, but it doesn't look like it is fixed:
>    https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG/
>
> Best regards,
> Gilles
>
> >
> > On 22 November 2016 at 09:51, Gilles <[hidden email]>
> > wrote:
> >
> >> Hi.
> >>
> >> Jenkins fails because the POM of the "commons-rng-examples"
> >> (correctly) requires Java 1.7 while the Jenkins job config uses the
> >> 1.6 maven profile.[1]
> >>
> >> Does someone know how to fix that?
> >>
> >>
> >> Thanks,
> >> Gilles
> >>
> >> [1] See "Goals and options" at
> >>       https://builds.apache.org/view/Apache%20Commons/job/Commons_
> >> Rng/configure
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: AW: [RNG] Help with Jenkins

Gilles Sadowski
On Tue, 22 Nov 2016 16:20:31 +0100, Jan Matèrne wrote:
> Could not find resource 'pmd/pmd-ruleset.xml'.

in the POM, is it necessary to have the plugin declared both
in the <build> target and in the <reporting> target?

>
> Havent found something in the job config.
> Maven is started with
> "clean deploy --batch-mode -Dgpg.skip -Prelease -Pjava-1.6
> -DJAVA_1_6_HOME=$JDK_1_6_LATEST__HOME pmd:pmd findbugs:findbugs
> checkstyle:checkstyle"

Yes.
The problem is that it must be possible to build the modules
with different source levels (following what's in the POM[1]),
while the above forces (IIUC) 1.6 for all of them.


Regards,
Gilles


>
>
>
> Jan
>
>> -----Ursprüngliche Nachricht-----
>> Von: Gilles [mailto:[hidden email]]
>> Gesendet: Dienstag, 22. November 2016 13:18
>> An: [hidden email]
>> Betreff: Re: [RNG] Help with Jenkins
>>
>> Hi.
>>
>> On Tue, 22 Nov 2016 15:47:16 +1100, Olivier Lamy wrote:
>> > fixed
>>
>> Thanks for taking care, but it doesn't look like it is fixed:
>>    https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG/
>>
>> Best regards,
>> Gilles
>>
>> >
>> > On 22 November 2016 at 09:51, Gilles
>> <[hidden email]>
>> > wrote:
>> >
>> >> Hi.
>> >>
>> >> Jenkins fails because the POM of the "commons-rng-examples"
>> >> (correctly) requires Java 1.7 while the Jenkins job config uses
>> the
>> >> 1.6 maven profile.[1]
>> >>
>> >> Does someone know how to fix that?
>> >>
>> >>
>> >> Thanks,
>> >> Gilles
>> >>
>> >> [1] See "Goals and options" at
>> >>      
>> https://builds.apache.org/view/Apache%20Commons/job/Commons_
>> >> Rng/configure
>> >>
>> >>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: AW: [RNG] Help with Jenkins

Gilles Sadowski
In reply to this post by Jan Matèrne (jhm)
Hi.

On Tue, 22 Nov 2016 16:20:31 +0100, Jan Matèrne wrote:
> Could not find resource 'pmd/pmd-ruleset.xml'.

I think I fixed that problem.

>
> Havent found something in the job config.
> Maven is started with
> "clean deploy --batch-mode -Dgpg.skip -Prelease -Pjava-1.6
> -DJAVA_1_6_HOME=$JDK_1_6_LATEST__HOME pmd:pmd findbugs:findbugs
> checkstyle:checkstyle"
>

This is the problem I was referring to in the previous message:
   
https://builds.apache.org/view/Apache%20Commons/job/Commons_Rng/77/org.apache.commons$commons-rng-examples/console


Regards,
Gilles

> Jan
>
>> -----Ursprüngliche Nachricht-----
>> Von: Gilles [mailto:[hidden email]]
>> Gesendet: Dienstag, 22. November 2016 13:18
>> An: [hidden email]
>> Betreff: Re: [RNG] Help with Jenkins
>>
>> Hi.
>>
>> On Tue, 22 Nov 2016 15:47:16 +1100, Olivier Lamy wrote:
>> > fixed
>>
>> Thanks for taking care, but it doesn't look like it is fixed:
>>    https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG/
>>
>> Best regards,
>> Gilles
>>
>> >
>> > On 22 November 2016 at 09:51, Gilles
>> <[hidden email]>
>> > wrote:
>> >
>> >> Hi.
>> >>
>> >> Jenkins fails because the POM of the "commons-rng-examples"
>> >> (correctly) requires Java 1.7 while the Jenkins job config uses
>> the
>> >> 1.6 maven profile.[1]
>> >>
>> >> Does someone know how to fix that?
>> >>
>> >>
>> >> Thanks,
>> >> Gilles
>> >>
>> >> [1] See "Goals and options" at
>> >>      
>> https://builds.apache.org/view/Apache%20Commons/job/Commons_
>> >> Rng/configure
>> >>
>> >>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: AW: [RNG] Help with Jenkins

Gilles Sadowski
On Tue, 22 Nov 2016 21:38:58 +0100, Gilles wrote:

> [...]
>>
>> Havent found something in the job config.
>> Maven is started with
>> "clean deploy --batch-mode -Dgpg.skip -Prelease -Pjava-1.6
>> -DJAVA_1_6_HOME=$JDK_1_6_LATEST__HOME pmd:pmd findbugs:findbugs
>> checkstyle:checkstyle"
>>
>
> This is the problem I was referring to in the previous message:
>
>
> https://builds.apache.org/view/Apache%20Commons/job/Commons_Rng/77/org.apache.commons$commons-rng-examples/console

 From what I read in the "configure" page of the Jenkins interface,
it is not possible for a module to override the settings of the
"parent" configuration!
Hence I don't see how Jenkins can be used to check the different
settings (Java 6 vs Java 7) of the modules's respective POM's...

Regards,
Gilles

>
> Regards,
> Gilles
>
>> Jan
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Gilles [mailto:[hidden email]]
>>> Gesendet: Dienstag, 22. November 2016 13:18
>>> An: [hidden email]
>>> Betreff: Re: [RNG] Help with Jenkins
>>>
>>> Hi.
>>>
>>> On Tue, 22 Nov 2016 15:47:16 +1100, Olivier Lamy wrote:
>>> > fixed
>>>
>>> Thanks for taking care, but it doesn't look like it is fixed:
>>>    https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG/
>>>
>>> Best regards,
>>> Gilles
>>>
>>> >
>>> > On 22 November 2016 at 09:51, Gilles
>>> <[hidden email]>
>>> > wrote:
>>> >
>>> >> Hi.
>>> >>
>>> >> Jenkins fails because the POM of the "commons-rng-examples"
>>> >> (correctly) requires Java 1.7 while the Jenkins job config uses
>>> the
>>> >> 1.6 maven profile.[1]
>>> >>
>>> >> Does someone know how to fix that?
>>> >>
>>> >>
>>> >> Thanks,
>>> >> Gilles
>>> >>
>>> >> [1] See "Goals and options" at
>>> >>      
>>> https://builds.apache.org/view/Apache%20Commons/job/Commons_
>>> >> Rng/configure
>>> >>
>>> >>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

AW: AW: [RNG] Help with Jenkins

Jan Matèrne (jhm)
> https://builds.apache.org/view/Apache%20Commons/job/Commons_Rng/77/org
> > .apache.commons$commons-rng-examples/console
>
>  From what I read in the "configure" page of the Jenkins interface, it
> is not possible for a module to override the settings of the "parent"
> configuration!
> Hence I don't see how Jenkins can be used to check the different
> settings (Java 6 vs Java 7) of the modules's respective POM's...

Some ideas:
Use different Jenkins jobs for different Java versions.

Use different Maven profiles which sets a property for the config path and is activated by specific Java version.


Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [RNG] Help with Jenkins

Gilles Sadowski
On Wed, 23 Nov 2016 08:14:25 +0100, Jan Matèrne wrote:

>>
>> https://builds.apache.org/view/Apache%20Commons/job/Commons_Rng/77/org
>> > .apache.commons$commons-rng-examples/console
>>
>>  From what I read in the "configure" page of the Jenkins interface,
>> it
>> is not possible for a module to override the settings of the
>> "parent"
>> configuration!
>> Hence I don't see how Jenkins can be used to check the different
>> settings (Java 6 vs Java 7) of the modules's respective POM's...
>
> Some ideas:
> Use different Jenkins jobs for different Java versions.
>
> Use different Maven profiles which sets a property for the config
> path and is activated by specific Java version.

I've created another project.

I don't understand why the build is reported as "failed":
 
https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG__Java8/2/

Regards,
Gilles

>
>
> Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [RNG] Help with Jenkins

Gilles Sadowski
On Wed, 23 Nov 2016 14:53:35 +0100, Gilles wrote:

> On Wed, 23 Nov 2016 08:14:25 +0100, Jan Matèrne wrote:
>>>
>>> https://builds.apache.org/view/Apache%20Commons/job/Commons_Rng/77/org
>>> > .apache.commons$commons-rng-examples/console
>>>
>>>  From what I read in the "configure" page of the Jenkins interface,
>>> it
>>> is not possible for a module to override the settings of the
>>> "parent"
>>> configuration!
>>> Hence I don't see how Jenkins can be used to check the different
>>> settings (Java 6 vs Java 7) of the modules's respective POM's...
>>
>> Some ideas:
>> Use different Jenkins jobs for different Java versions.
>>
>> Use different Maven profiles which sets a property for the config
>> path and is activated by specific Java version.
>
> I've created another project.
>
> I don't understand why the build is reported as "failed":
>  
> https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG__Java8/2/

This seems solved.

However the other job
   https://builds.apache.org/view/Apache%20Commons/job/Commons_RNG
now consistently fails, seemingly because of an environment problem
(on the executing node).

Thanks for looking into this,
Gilles

>
> Regards,
> Gilles
>
>>
>>
>> Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]