Re: Jenkins nullpointer exception - git checkout branch / tag

2015-01-05 Thread ycollet
Hello, I got into the workspace of the project. Here is the log of various git commands: $ git remote origin $ git tag -l 2013.3 ... Supergrid_1.1.RC2 ... Supergrid_2014.1.3.RC2 $ git branch -a * (détaché de df0ef2b) remotes/origin/CITY1.2.6 ... remotes/origin/master remotes/origin/timez

define a file in a Build Flow job

2015-01-05 Thread Fatemeh Mehdizadeh
Hi all, I installed Build Flow plugin to build a job 10 times. One of my files that has some configuration in it, is different in all 10 tests but other files are the same in all tests. The code is: for(int i=0;i<10;i++){ build("my-job"); } MY problem is that I don't know how can I tell the

RE: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread dennys
I add "uniqueMember={0}" in Group membership filter, it takes about 3~4 seconds now. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Could-I-know-the-LDAP-cache-is-enabled-or-not-tp4732888p4733073.html Sent from the Jenkins users mailing list archive at Nabble.com. --

Groovy collection.find() returning boolean in Workflow scripts?!

2015-01-05 Thread Kenneth Baltrinic
I am trying to do a very simple file parse operation within a Jenkins workflow script and getting some very bizarre results. This is with the workflow 1.1 set of plugins and Jenkins 1.596. To demonstrate the issue I created a new workflow job with the following script: *def str="1:one|

RE: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread dennys
I changed the group search base to another node that only has little records, it's very fast now. So the root cause is we have too many groups... we have about 5000 groups now, is it ok ? And is there any suggestion for it? We add Group search filter, but the performance is almost the same. --

Re: Jenkins nullpointer exception - git checkout branch / tag

2015-01-05 Thread Mark Waite
Is there a remote named "origin" in that repository? Has the remote branch "Supergrid_2014.1.3.RC2 been deleted? If so, then you may want to enable "Prune remote branches" so that local branches are removed when their remote branch is deleted. Mark Waite On Mon, Jan 5, 2015 at 9:11 AM, ycollet

RE: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread Ginga, Dick
I don't know about configuring AD for Oracle LDAP -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of dennys Sent: Monday, January 05, 2015 11:57 AM To: jenkinsci-users@googlegroups.com Subject: Re: Could I know the LDAP cache i

Re: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread dennys
Is there any log to confirm what eat the time? Or is it possible to disable group search? I clear group search base and group search filter, but the performance is still the same. And to Ginga, we use Oracle's LDAP, not Active Directory. Is it possible to use AD plugin to connect to LDAP? I cannot

Re: JNLP + JENKINSCLI not working - 1.589

2015-01-05 Thread shyamendra pratap
Hi, I tried after disabling global security..still getting the same issue, not sure what is going on here http://server:port/*jenkins/cli..* *java -jar jenkins-cli.jar -s http://zlpv1373.vci.att.com:43000/jenkins who-am-iException in thread "main" j

Re: Jenkins nullpointer exception - git checkout branch / tag

2015-01-05 Thread ycollet
This command works with: git rev-parse Supergrid_2014.1.3.RC2^{commit} Instead of git rev-parse origin/Supergrid_2014.1.3.RC2^{commit} I remove the origin/ -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: Jenkins nullpointer exception - git checkout branch / tag

2015-01-05 Thread ycollet
I just entered some of the git command produced by jenkins (from the console log) and one of the command produced an error: Here is the log message I've got: git rev-parse origin/Supergrid_2014.1.3.RC2^{commit} origin/Supergrid_2014.1.3.RC2^{commit} fatal: ambiguous argument 'origin/Supergrid_20

Re: Jenkins nullpointer exception - git checkout branch / tag

2015-01-05 Thread Slide
Looks like its something in the Rebuild plugin. Can you try uninstalling/disabling that plugin? On Mon Jan 05 2015 at 8:58:26 AM ycollet wrote: > Hello, > > I upgraded to last version of jenkins (1.592) and updated to last version > of plugins. > I've got a project which checkout a tag from a gi

Jenkins nullpointer exception - git checkout branch / tag

2015-01-05 Thread ycollet
Hello, I upgraded to last version of jenkins (1.592) and updated to last version of plugins. I've got a project which checkout a tag from a git repo and compiled java code using ant. The project use a string parameter and this string parameters is sent to the git plugin to checkout a branch or

JNLP + JENKINSCLI not working - 1.589

2015-01-05 Thread shyamendra pratap
Hi, Installed Jenkins in one linux box (master) and created and connected a slave node (using JNLP) on different linux box (Requirement is I need to connect to Slave Node only with JNLP in our project) When trying to run a build using jenkins cli from slave getting 401 error java -jar jenkins-cl

Problem with gitorious plugin

2015-01-05 Thread John Ewing
Hi, I am trying to use the gitorious plugin to trigger builds on commit. I have a gitorious webhook setup to post to http://jenkins.ourdomain.com:8080/gitorious/notifyCommit Whenever I try and test the commit hook it fails with a 500 status and the stack trace has this in it Jan 5, 2015 3:

Re: java.io.IOException: error=12, Cannot allocate memory

2015-01-05 Thread Daniel Beck
That was my first guess as well. But it seems that the JRE defaults to using vfork though, which should not have this problem... right? https://en.wikipedia.org/wiki/Fork_%28system_call%29#Vfork http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/file/4645fadf8352/src/solaris/classes/java/lang/UNIXProcess

RE: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread Ginga, Dick
FYI, I had the same poor response from LDAP and went to the Active Directory plugin and it is easier to install/setup and works really fast. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: Monday, January 05, 2015 6:07 AM To: j

Re: java.io.IOException: error=12, Cannot allocate memory

2015-01-05 Thread Mark Waite
On Mon, Jan 5, 2015 at 5:33 AM, Mark Waite wrote: > > > On Mon, Jan 5, 2015 at 2:58 AM, Shahaf Hart > wrote: > >> Hi, >> >> Using Jenkins 1.547, I get a crash with an out of memory failure on a >> slave. This occurs mostly when I run a larger number of jobs >> simultaneously. It starts the job

Re: java.io.IOException: error=12, Cannot allocate memory

2015-01-05 Thread Mark Waite
On Mon, Jan 5, 2015 at 2:58 AM, Shahaf Hart wrote: > Hi, > > Using Jenkins 1.547, I get a crash with an out of memory failure on a > slave. This occurs mostly when I run a larger number of jobs > simultaneously. It starts the job by fetching from git and fails giving > the error below. I don't

Re: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread Stephen Connolly
It's usually the group membership queries that eat the time On 5 January 2015 at 10:45, dennys wrote: > This is our config, it has about 20,000 records in "ou=Users" level. All of > these records are at the same level, not sure how to narrow the scope... > > > > Is there a reference that the nor

Re: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread dennys
This is our config, it has about 20,000 records in "ou=Users" level. All of these records are at the same level, not sure how to narrow the scope... Is there a reference that the normal speed of 20,000 records LDAP search? -- View this message in context: http://jenkins-ci.361315.n4.nabble.

Re: Could I know the LDAP cache is enabled or not?

2015-01-05 Thread Stephen Connolly
The cache will not affect login, but will affect page rendering after logging in. To improve login performance you need to narrow the scope of the login query On 5 January 2015 at 10:11, dennys wrote: > I use Jenkins 1.580.2 and LDAP plugin 1.11. It works (authentication and > group), but the pe

Could I know the LDAP cache is enabled or not?

2015-01-05 Thread dennys
I use Jenkins 1.580.2 and LDAP plugin 1.11. It works (authentication and group), but the performance is not good. It takes more then 10 seconds to login, and after enabling cache (size 500, TTL 5mins), it's still the same. Does Jenkins write the cached data in any file or is there any solution to

java.io.IOException: error=12, Cannot allocate memory

2015-01-05 Thread Shahaf Hart
Hi, Using Jenkins 1.547, I get a crash with an out of memory failure on a slave. This occurs mostly when I run a larger number of jobs simultaneously. It starts the job by fetching from git and fails giving the error below. I don't understand this, as I have 24 GB Ram on my VM slave, but at

Re: Using token WARNINGS_NEW in pre send email

2015-01-05 Thread kitty56fr
Hi, I have no idea how it gets its value. If anyone could help? Tahnks On Wednesday, December 31, 2014 2:34:44 PM UTC+1, slide wrote: > How does WARNINGS_NEW get it's value? You'd want to use pretty much the > same code path to get the number of warnings in Groovy. > > On Wed Dec 31 2014 at 2: