Re: How do I install a plugin in Jenkins using Remote access API?

2012-03-19 Thread Sami Tikka
AFAIK there is no way to install plugins by sending them over HTTP to Jenkins. Could you still elaborate more on why the CLI or normal way to install plugins (via the Jenkins UI) are not sufficient for your use case? -- Sami 2012/3/19 Harish Kayarohanam : > Hi , > > I would like to know, how to

Re: Jenkins - getting slower and slower

2012-03-19 Thread Vladimir Zak
Hi, Thank you for answers. Could I ask you about Discard builds functionality? I have there more than a half year old builds. When I set 30 days then I would like to ask you if the older builds are deleted when jenkins is starting or when the same job is building? Thanks Vladimir 2012/3/1

Jenkins vs. Hudson

2012-03-19 Thread zakyn
Hi, I would like to ask you how jenkins and hudson community cooperates or where is the main development. I have not met any information about the synergy of both or not. Of course I am interested in plugins development and so on. Thank you. Vladimir

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread intelchen
If I run several things in background, Jenkins may not capture the output of these commands. Do you have experiences about using this https://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build ? It is easy for me to put everything available in a single job. Then it would

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread intelchen
Thank Danny, I think my main problem here is about how to organize so many jobs for our products. Take example, we have ten components, and one compilation job and several analyze jobs for each component. So it would be more than 40 jobs for a single products( 10components*1compliation+ 10compo

Re: How to make variables available to all build steps/action in a job

2012-03-19 Thread Jan Seidel
Hi Shanz, *uhm* mkey... I am not familiar with python but I will give it a try. Seems to be quite convenient to adapt the properties to my needs. Thanks for your feedback :) Take care Jan On 16 Mrz., 16:34, shanz wrote: > I found that a python script gave me more flexibility in what I could >

Re: Jenkins vs. Hudson

2012-03-19 Thread Vojtech Juranek
Hi, > I would like to ask you how jenkins and hudson community cooperates or > where is the main development. just compare git repos, https://github.com/jenkinsci/ vs. https://github.com/hudson + https://github.com/hudson-plugins and make your own conclusion. IMHO it's pretty clear where the mai

Re: Jenkins - getting slower and slower

2012-03-19 Thread Vojtech Juranek
> I have there more than a half year old builds. When I set 30 days then > I would like to ask you if the older builds are deleted when jenkins > is starting or when the same job is building? the builds are deleted after next build is run and finished. If you want to delete them without running

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread danny staple
It may take a bit more complication, but you could probably use parameterized builds with allow concurrent runs to keep the number of jobs down. We do this. You will want a few coping strategies. When you kick off sub builds make sure you get the build number as you'll need it to find your artifac

AW: Jenkins - getting slower and slower

2012-03-19 Thread Hauser, Wolfgang (external)
Do you run that Jenkins on a Virtual machine ? -Ursprüngliche Nachricht- Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Im Auftrag von Vojtech Juranek Gesendet: Montag, 19. März 2012 10:18 An: jenkinsci-users@googlegroups.com Cc: Vladimir Zak Betreff: Re:

Re: Jenkins - getting slower and slower

2012-03-19 Thread Vladimir Zak
@Hauser - no it is not virtual system. Why do you ask? Vladimir 2012/3/19 Hauser, Wolfgang (external) : > Do you run that Jenkins on a Virtual machine ? > > -Ursprüngliche Nachricht- > Von: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] Im Auftrag vo

AW: Jenkins - getting slower and slower

2012-03-19 Thread Hauser, Wolfgang (external)
>@Hauser - no it is not virtual system. Why do you ask? We run Jenkins on a VM and the wohle Machine slowing down over the time. After shrinking the disks the VM is running normaly again. Wolfgang

Jenkins slaves always fail in Windows XP virtual machines

2012-03-19 Thread Neil Bird
I posted a part of this earlier but didn't get a resolution, but we're also seeing another odd behaviour. We have a Windows XP SP3 64-bit monster box, with 32-bit XP SP3 VMs set up, with the intention that these VMs be slaves (to our Linux Jenkins master). We already have a couple of XP

Re: How to make variables available to all build steps/action in a job

2012-03-19 Thread dpreilan
Have you try the inject environment plugins? Also, there is a place on top of job configurations to set variables as well. I have use the inject environment variables as a build setup. For example step1, do some logic, write some variables to a property file. step2, use the inject variable build se

Re: How to make variables available to all build steps/action in a job

2012-03-19 Thread Didier Durand
Hi, You can go into Jenkins Configure > Global Properties & there set env variables that are available to all jobs. regards didier Le lundi 19 mars 2012 09:59:09 UTC+1, Jan Seidel a écrit : > > Hi Shanz, > > *uhm* mkey... I am not familiar with python but I will give it a try. > Seems to be

Re: Jenkins vs. Hudson

2012-03-19 Thread Didier Durand
Hi, A recent ppt by Cloudbees clearly demonstrated (via manay figures) that the community has switched from Hudson to Jenkins. http://www.cloudbees.com/sites/default/files/whitepapers/Jenkins_Safe_Investment_Final.pdf -> many figures there. http://blog.cloudbees.com/2011/12/jenkins-community-

Re: How to make variables available to all build steps/action in a job

2012-03-19 Thread Jan Seidel
Hi Shanz, this script works like a charm :) I have modified it to my needs so the mail body is streamed from a text file but am struggling with a minor problem. The subject remains empty. I tried to assign it a sentence like: subject = "new XX integrations for asia available" with all kind of

CLI Causes Server to Crash?

2012-03-19 Thread Jay Flowers
When I execute a simple groovy script over the CLI the server crashes with this error: Exception in thread "jI_GarbageCollector" java.lang.NoClassDefFoundError: org/jinterop/dcom/core/JISession at org.jinterop.dcom.core.JISession$1.run(JISession.java:106) at java.lang.Thread.run(Th

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread Danny Staple
First - you'd probably want to redirect output to other files - very large console logs come with problems. Second - the use of wait (on Unix) should prevent process leaks. Wait is documented in the bash manual. Thanks, Danny On Monday, 19 March 2012 08:46:34 UTC, intelchen wrote: > > > If

Re: email-ext - jelly script example for matrix job

2012-03-19 Thread dpreilan
Sure. I am not really a java or groovy coder so I am sure there are ways to improve this code. To explain, the job and email. I have matrix jobs that build for various 'toolchains' and architectures (ia32, x86_64, and ia64). I created generic axis names (AXIS1, and AXIS2) because of some unique nam

Re: email-ext - jelly script example for matrix job

2012-03-19 Thread Slide
This is awesome. Thanks for sharing! I've heard of several people who would like to do something like this. I'll try and add it to the wiki for email-ext. slide On Mon, Mar 19, 2012 at 7:25 AM, dpreilan wrote: > Sure. I am not really a java or groovy coder so I am sure there are > ways to impro

Re: email-ext - jelly script example for matrix job

2012-03-19 Thread dpreilan
Glad I could give back. Thanks for the plugin. On Mar 19, 11:26 am, Slide wrote: > This is awesome. Thanks for sharing! I've heard of several people who would > like to do something like this. I'll try and add it to the wiki for > email-ext. > > slide > > > > > > > > > > On Mon, Mar 19, 2012 at 7

Re: Not stable

2012-03-19 Thread Adam Aquilon
On Mon, 12 Mar 2012 18:12:42 +0100, Sami Tikka wrote: Which JVM do you use? How did you install Jenkins? We also saw similar problems when upgrading from 1.427 to 1.455. The reason (as far as we could find out) was that *something* removed the execute privileges on the "plugins" directory.

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-19 Thread Sami Tikka
I have never had a problem with Jenkins not capturing output. And AFAICS the the wiki page you refer to does not mention such a problem either. Sure, if you want to use background processes in your job, you will want to make sure you do not exit before you have waited for them all or killed them o

CVS Issues with latest plugin (2.1)

2012-03-19 Thread James Carr
Hi All, I recently upgraded the CVS plugin to fix the issue identified by issue https://issues.jenkins-ci.org/browse/JENKINS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel. Although this works for all of our projects, projects hosted on one particular CVS server now get th

Re: CLI Causes Server to Crash?

2012-03-19 Thread Sami Tikka
Sorry, no idea. Grasping at straws here: Do your CLI and Jenkins have the same version? -- Sami 2012/3/19 Jay Flowers : > When I execute a simple groovy script over the CLI the server crashes with > this error: > > Exception in thread "jI_GarbageCollector" java.lang.NoClassDefFoundError: > org/ji

Re: Set Git's path from Groovy?

2012-03-19 Thread Giro
I'm running hudson_2.2.0_all.deb right now. So is it easy to write this (or any global config) value in Groovy? -G On Mar 15, 7:49 pm, Jesse Farinacci wrote: > Greetings, > > On Thu, Mar 15, 2012 at 10:33 PM, Giro wrote: > > I'm finding that upon installation, Hudson's default git path is just >

Re: Set Git's path from Groovy?

2012-03-19 Thread Jesse Farinacci
Greetings, On Mon, Mar 19, 2012 at 5:13 PM, Giro wrote: > I'm running hudson_2.2.0_all.deb right now. So is it easy to write > this (or any global config) value in Groovy? If that is the case, then you're on the wrong list. Either install Jenkins or talk to the Hudson folks. -Jesse -- There a

Re: CLI Causes Server to Crash?

2012-03-19 Thread Jay Flowers
Yep :-( Same version... On Mon, Mar 19, 2012 at 2:02 PM, Sami Tikka wrote: > Sorry, no idea. Grasping at straws here: Do your CLI and Jenkins have > the same version? > > -- Sami > > 2012/3/19 Jay Flowers : > > When I execute a simple groovy script over the CLI the server crashes > with > > this