jenkins wins first place in purim custom content...

2013-02-27 Thread Eyal Edri
Since i manage jenkins for over 2 years now it was natural to dress up as him!

I won 1st place in a custom contest of the company with it..

http://postimage.org/image/e7k9j8mbb/
(i even had 3 color balls blue/yellow/red for the builds :) 

what do you think? looks the same or not?

Eyal Edri
RHEVM CI & BUILD Team leader
Red Hat

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git exception in jenkins.log (java.lang.NoClassDefFoundError: org/spearce/jgit/lib/ObjectId)

2013-01-27 Thread Eyal Edri
afair, it was an old git version or a git version that didn't match the gerrit 
trigger plugin.

did you try updating git? and the git plugin? 

- Original Message -
> From: "Chester Chen" 
> To: jenkinsci-users@googlegroups.com
> Cc: ee...@redhat.com
> Sent: Sunday, January 27, 2013 6:45:13 PM
> Subject: Re: git exception in jenkins.log (java.lang.NoClassDefFoundError: 
> org/spearce/jgit/lib/ObjectId)
> 
> 
> Hi,
> I got the same class not found exception with the latest Jenkins,
> gerrit-trigger (2.7.0) and all the update plugin.
> I googled around, notice that the there is an existing issue in
> Gerrit Trigger filed last year, but still unresolved.
> 
> One solution suggested last year was to update the latest gerrit
> trigger and manual install the plugin in jenkins.
> 
> 
> 
> But since I am already in the latest version, not sure how can I get
> around this issue. please HELP.
> 
> 
> Here is the stack trace,
> 
> 
> 
> Using strategy: Gerrit-Plugin
> Fetching changes from 1 remote Git repository
> Fetching upstream changes from ssh://dummy@localhost:29418/test7.git
> FATAL: org/spearce/jgit/lib/ObjectId java.lang.NoClassDefFoundError :
> org/spearce/jgit/lib/ObjectId
>   at
>   
> hudson.plugins.gerrit.buildchoosers.GerritBuildChooser.parseCommit(GerritBuildChooser.java:111)
>   at
>   
> hudson.plugins.gerrit.buildchoosers.GerritBuildChooser.sortRevList(GerritBuildChooser.java:90)
>   at
>   
> hudson.plugins.gerrit.buildchoosers.GerritBuildChooser.getCandidateRevisions(GerritBuildChooser.java:46)
>   at
>   
> hudson.plugins.git.util.BuildChooser.getCandidateRevisions(BuildChooser.java:70)
>   at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1097) at
>   hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at
>   hudson.FilePath.act(FilePath.java:852) at
>   hudson.FilePath.act(FilePath.java:825) at
>   hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986)
>   at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at
>   hudson.model.AbstractProject.checkout(AbstractProject.java:1325) at
>   
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
>   at
>   jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>   at
>   
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587)
>   at hudson.model.Run.execute(Run.java:1543) at
>   hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at
>   hudson.model.ResourceController.execute(ResourceController.java:88)
>   at hudson.model.Executor.run(Executor.java:236) Caused by:
>   java.lang.ClassNotFoundException : org.spearce.jgit.lib.ObjectId
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at
>   java.net.URLClassLoader$1.run(URLClassLoader.java:355) at
>   java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>   ... 18 more
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Thursday, July 21, 2011 6:23:58 AM UTC-7, Eyal Edri wrote:
> 
> Anyone has this exception on jenkins.log file?
> 
> I'm trying to find the source of the out of memory error, and I want
> to
> sort out all log errors.
> 
> WARNING: Failed to resolve a type
> java.lang.NoClassDefFoundError: org/spearce/jgit/lib/ObjectId
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.getDeclaredMethod(Class.java:1935)
> at
> com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.
> getMethod(SerializationMethodInvoker.java:128)
> at
> com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.
> supportsReadObject(SerializationMethodInvoker.java:79)
> at
> com.thoughtworks.xstream.converters.reflection.SerializableConverter.isSer
> ializable(SerializableConverter.java:81)
> at
> com.thoughtworks.xstream.converters.reflection.SerializableConverter.canCo
> nvert(SerializableConverter.java:77)
> at
> com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForTyp
> e(DefaultConverterLookup.java:63)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha
> ller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha
> ller.java:60)
&

jenkins choise plugin to read files in a directory?

2012-07-22 Thread Eyal Edri
Hi,

Is there a parameter plugin for jenkins (couldn't find something in the list), 
that lets you build a combobox (list) from a directory listing? (i.e will 
contain all file names in a certain dir, or a glob of them).

i looked at the extended choice plugin, but i'm not sure it supports it.

Eyal.


use 'Query and Trigger Gerrit Patches' in gerrit-trigger plugin for any job

2012-07-18 Thread Eyal Edri
Hi,

Is is possible to use the 'Query and Trigger Gerrit Patches' option in gerrit 
trigger plugin to run a job in Jenkins on a gerrit patch,
that is not set to listen to a 'gerrit event'? 

the reason i ask is that i want to be able to run gerrit patch job on demand 
only (manual mode),
and i don't want the job to poll gerrit all the time and run on every patch 
commit.

this can be very useful in case jenkins can't handle the load of testing all 
gerrit patches,
but still give ability to run patches before commit.


Eyal Edri
Red Hat


Re: SEVERE exception while starting jenkins LTS 1.477.1

2012-06-07 Thread Eyal Edri


- Original Message -
> From: "David Aldrich" 
> To: jenkinsci-users@googlegroups.com
> Sent: Thursday, June 7, 2012 12:26:38 PM
> Subject: RE: SEVERE exception while starting jenkins LTS 1.477.1
> 
> I guess you mean 1.447.1 ?
> 

yes, sorry for the confusion.
the latest LTS version.

> > -Original Message-
> > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> > us...@googlegroups.com] On Behalf Of Eyal Edri
> > Sent: 07 June 2012 10:14
> > To: jenkinsci-users@googlegroups.com
> > Subject: SEVERE exception while starting jenkins LTS 1.477.1
> > 
> > hi everyone,
> > 
> > i'm getting SEVERE exception on jenkins LTS latest version after
> > upgrade:
> > http://pastebin.com/NBvbBPSc
> > 
> > i recently added a jnlp slave that sits in a DMZ and connects to
> > this public
> > jenkins instance.
> > 
> > i had to set fixed jnlp port in the configure screen.
> > 
> > can you help?
> > 
> > thanks,
> > 
> > eyal.
> > 
> > 
> >  Click
> > https://www.mailcontrol.com/sr/FnZPsyPTSWTTndxI!oX7UhQ1x5oWB0K16p
> > ll58pfstDdlWlIk02FtIl4+Srzjrw5Jowjf3g!k7z4pahZRjvH8A==  to report
> > this
> > email as spam.
> 


SEVERE exception while starting jenkins LTS 1.477.1

2012-06-07 Thread Eyal Edri
hi everyone, 

i'm getting SEVERE exception on jenkins LTS latest version after upgrade: 
http://pastebin.com/NBvbBPSc

i recently added a jnlp slave that sits in a DMZ and connects to this public 
jenkins instance. 

i had to set fixed jnlp port in the configure screen.

can you help?

thanks,

eyal.


Know which git repo had a new change when using multiple SCM plugin

2012-05-04 Thread Eyal Edri
I have a job that listens to 5 git repos,
The job can be triggered if any of these repos had new changes committed via 
git. (sometimes it's more than one repo).

(i will put each git repo in a different subdir to not mix them together.)

so what i want to do is this:

1. If a certain git repo had changes committed then:
   1.1 trigger a different job (or do the logic internally in the job if its 
not possible)
   1.2 wait for the task/job to finish
   1.3 fail job if external job failed.

2. run normal flow of the job (even if condition in 1 wasn't met).


Any ideas?

Eyal Edri.
Red Hat


Re: fonts in junit trend graphs are unreadable

2012-04-20 Thread Eyal Edri
i used to have an issue where the graph didn't show at all.

try checking the fonts installed on your jenkins server, and see if you can 
replace them/install new ones.

eyal.

- Original Message -
> From: "Alex Dean" 
> To: "Jenkins Users" 
> Sent: Thursday, April 19, 2012 8:40:30 PM
> Subject: Re: fonts in junit trend graphs are unreadable
>
> Can anyone help me with this?
>
> On Apr 16, 3:57 pm, Alex Dean  wrote:
> > I've just set up Jenkins to run PHPUnit tests. Everything is
> > working
> > fine except that the junit trend graphs are very difficult to read.
> > The font is all wrong.
> >
> > https://img.skitch.com/20120416-deuen41cigddrgt7nfyhmyi3f4.png
> >
> > I'm unsure how to further research this issue. (Searches for 'trend
> > report font' & similar haven't produced anything useful.) Can
> > anyone
> > offer any pointers?
> >
> > thanks,
> > alex
> >
> > Centos 5.6
> >
> > $ java -version
> > java version "1.6.0_20"
> > OpenJDK Runtime Environment (IcedTea6 1.9.8)
> > (rhel-1.22.1.9.8.el5_6-
> > x86_64)
> > OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
> >
> > $ rpm -qa | grep jenkins
> > jenkins-1.460-1.1
>


choosing maven as a paramater for a job

2012-02-22 Thread Eyal Edri
Hi,

Is there any way i can set the maven version as a param in job?
so who ever runs the job, can choose if to run it with mvn 2.2.1 or 3.0.3?  
(currently optional only from the dropbox in the maven top level build option).

thanks,

Eyal.


Multiple changes to advances properties of 'Multiple SCMs' plugin

2012-02-06 Thread Eyal Edri
I've got 12 jobs i want to update the 'excluded regions' property in the 
Multiple SCMs plugin.

How can i do that via script/cli? 

I guess the 'scriptler' plugin can be helpful using groovy?

Eyal.