A conditional execution, based on java version, will be great.

Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara

Maurizio Cucchiara



On 26 October 2011 01:44, Maurizio Cucchiara <mcucchi...@apache.org> wrote:
> ATM I chose to fix Jenkins, since this is a resource-consuming task for 
> Jenkins.
> Aside from the fact that it tends to acquire many resources, it
> doesn't return any correctness infos and AFAIK there is no fast way to
> estimate the outcome through Jenkins (the only way I know is to check
> tediously the console output).
> Furthermore this kind of tests are not useful in every moments (I
> would like to test performance only when I change something that
> affects performances, which, at the moment I'm writing, means only
> change the cache implementation).
>
>
> Twitter     :http://www.twitter.com/m_cucchiara
> G+          :https://plus.google.com/107903711540963855921
> Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
>
> Maurizio Cucchiara
>
>
>
> On 25 October 2011 13:11, sebb <seb...@gmail.com> wrote:
>> On 25 October 2011 12:01, Maurizio Cucchiara <mcucchi...@apache.org> wrote:
>>> Simo,
>>> I am afraid that junit-benchmark was compiled with java 6, so
>>> basically we have 2 options:
>>> 1. change jdk settings on Jenkins (but I'm totally against it)
>>> 2. ask to JB team if there is a specific reason.
>>> 3. (that it was I'm currently trying to do) change build command on
>>> Jenkins in order to exclude benchmark profile
>>
>> The dependency on Java 6 will potentially affect other developers, and
>> will cause unnecessary failures when testing with Java 1.5.
>> So rather than just fix Jenkins (and Gump and Continuum and Buildr
>> etc) I think the profile should check whether the appropriate Java
>> version is being used.
>>
>> I'm pretty sure one of the existing POMs does something similar (BSF 3.x?).
>>
>> Will try and find the POM later today.
>>
>>> Twitter     :http://www.twitter.com/m_cucchiara
>>> G+          :https://plus.google.com/107903711540963855921
>>> Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
>>>
>>> Maurizio Cucchiara
>>>
>>>
>>>
>>> On 25 October 2011 12:09, Simone Tripodi <simonetrip...@apache.org> wrote:
>>>> Hi all guys,
>>>> looks like there is a problem that cannot be managed by our side
>>>>
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] COMPILATION ERROR :
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] 
>>>> /home/jenkins/jenkins-slave/workspace/ognl/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java:[24,-1]
>>>> cannot access com.carrotsearch.junitbenchmarks.BenchmarkOptions
>>>> bad class file:
>>>> /home/jenkins/.m2/repository/com/carrotsearch/junit-benchmarks/0.3.0-SNAPSHOT/junit-benchmarks-0.3.0-SNAPSHOT.jar(com/carrotsearch/junitbenchmarks/BenchmarkOptions.class)
>>>> class file has wrong version 50.0, should be 49.0
>>>>
>>>> Maybe Olivier can help?
>>>> Thanks a lot in advance!
>>>> Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://simonetripodi.livejournal.com/
>>>> http://twitter.com/simonetripodi
>>>> http://www.99soft.org/
>>>>
>>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Apache Jenkins Server <jenk...@builds.apache.org>
>>>> Date: Tue, Oct 25, 2011 at 11:59 AM
>>>> Subject: ognl - Build # 153 - Failure
>>>> To: simone.trip...@gmail.com
>>>>
>>>>
>>>> The Apache Jenkins build system has built ognl (build #153)
>>>>
>>>> Status: Failure
>>>>
>>>> Check console output at https://builds.apache.org/job/ognl/153/ to
>>>> view the results.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>

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

Reply via email to