Re: Possibility to get build_status using jenkins environment variable

2012-07-26 Thread Sami Tikka
Go to any Jenkins page. Click to place cursor in browser address bar. Add "/api" to the URL and hit enter. -- Sami Varghese Renny kirjoitti 25.7.2012 kello 15.02: > Can you explain about xml api, whether i needed to install some plugin? > my purpose is i am writing an task. Using env i can acc

Re: corrupted testng-results from builds

2012-07-26 Thread Sami Tikka
Have you configured multiple jobs to share the same custom workspace? -- Sami sensen kirjoitti 25.7.2012 kello 16.57: > Hello, > > in the jenkins-log I see a lot of entries like these: > FEIN: Processing > '/home/tomcat/.hudson/jobs/CBS20/builds/2012-07-23_16-37-14/testng/testng-results-723.x

Re: Jenkins showing wrong time-stamps for all Builds

2012-07-26 Thread Sami Tikka
Then the timezone of the JVM comes from whatever tomcat decides or the script that starts tomcat. It doesn't look like it is a Jenkins problem. Have you checked System Information under Manage Jenkins page? Does it show something about the time zone? A property? Or an environment variable? --

Re: Jenkins showing wrong time-stamps for all Builds

2012-07-26 Thread krishna chaitanya kurnala
Hi Sami Here are the details you requested: [jenkinspan@sdc-cidev10 ~]$ date Thu Jul 26 15:31:05 PDT 2012 [jenkinspan@sdc-cidev10 ~]$ uname -a Linux sdc-cidev10 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Jenkins version: 1.474 (almost latest). I am depl

Re: KSH on slave node

2012-07-26 Thread Sami Tikka
Change it in global configuration? If that doesn't work, you can always override the shell by starting your build step with a hashbang line: #!/bin/ksh echo "I am running in ksh" -- Sami vfarcic kirjoitti 25.7.2012 kello 23.27: > Does anyone know how to use KSH instead of SH shell on a slave

Re: Classes corresponding to depend jobs

2012-07-26 Thread Sami Tikka
Everything you need to know is documented here: http://javadoc.jenkins-ci.org/ Additionally, the plugin you use may set up some variables. E.g. groovy post-build plugin sets up variable "manager". Details are probably in the plugin doc. You should probably practice your hand at Groovy in the Ma

Re: best approach for aggregating test results across many nodes/jobs

2012-07-26 Thread Sami Tikka
You could try multiconfiguration job. The build is successful only if all configurations have built/tested successfully. -- Sami phil swenson kirjoitti 26.7.2012 kello 22.17: > We have many nodes and many jobs running tests. What is the best way > to get all the test results in one report so

RE: Aggregate downstream test results

2012-07-26 Thread William Soula
My guess, and it is only a guess, is it will only aggregate junit tests. You can apply your in-house test scripts by having them report back in junit-style reports or running an xslt on them if you have reports in an xml format. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@go

RE: best approach for aggregating test results across many nodes/jobs

2012-07-26 Thread William Soula
Downstream build view and/or aggregated test results plugins? https://wiki.jenkins-ci.org/display/JENKINS/Downstream+buildview+plugin Looks like aggregated downstream test results is now built in to Jenkins, I couldn't find the plugin on the plugin site You could also have a job that runs perio

best approach for aggregating test results across many nodes/jobs

2012-07-26 Thread phil swenson
We have many nodes and many jobs running tests. What is the best way to get all the test results in one report so we know our full status in one view? thanks

Re: Jenkins showing wrong time-stamps for all Builds

2012-07-26 Thread Sami Tikka
No, I have to faced the same problem. You might get better help if you gave some more details about your system: What is your operating system? If the clock of your OS correct? Is the time zone of your OS correct? How did you install Jenkins? Which version? -- Sami krishna chaitanya kurnala

OpenID plugin + Google Apps + Groups: anyone got it working?

2012-07-26 Thread Alex Soto
Hey There, I've got the OpenId plugin integrated with Google Apps for our domain, but I have to enter each user's email in the Matrix-based security. I've tried entering groups, but I can't get it to work. Has anyone successfully used the OpenID plugin with Google Apps and using groups to spe

Jenkins showing wrong time-stamps for all Builds

2012-07-26 Thread krishna chaitanya kurnala
Hello Everyone For some reason, all the times of builds of our Jenkins are in Universal Timezone while we are Pacific Time Zone(LA) user.timezone = Universal did anyone face the same problem earlier? How did you fix it though ? Thanks, Krishna Chaitanya

Re: Keep this slave on-line as much as possible

2012-07-26 Thread Sami Tikka
I don't think such a setting exists. I think you most be able to make a jobs which runs a groovy script, which runs inside Jenkins and could force it to reconnect. I'm pretty sure it is possible. I looked into it a while ago when I had the same problem. -- Sami "Stanley, Jason" kirjoitti 26

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
On Thursday, July 26, 2012 5:29:16 PM UTC+2, sti wrote: > > Why? That's simple: because no-one has implemented it yet. Thanks, that's a valuable piece of information!

Re: Load Balancing

2012-07-26 Thread Michaël Pailloncy
In my opinion, if you have a slave with 6 slots, It should be able to do 6 builds of the same job in the same time that if those 6 builds were allocated on 6 slaves. For me, it's certainly a problem of capacity calibration of slaves. If you have some builds that take many resources, be in round-rob

Re: Load Balancing

2012-07-26 Thread Sami Tikka
Why? That's simple: because no-one has implemented it yet. Jenkins is free and open source software. If there is feature that is missing or is important to you, your best bet is to implement it yourself. Just fork the code on github, implement the feature and send it using a pull request. Othe

Re: Load Balancing

2012-07-26 Thread Les Mikesell
On Thu, Jul 26, 2012 at 10:02 AM, Lukas Rytz wrote: >> >> > It would be nice if the scheduling was configurable. It seems that the >> > "Throttle Concurrent >> > Builds" plugin [1] works in that direction: it can make sure to never >> > run >> > more than X builds >> > on one machine. What I'm loo

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
On Thursday, July 26, 2012 5:05:06 PM UTC+2, Adam PAPAI wrote: > > Anyway: > > Why don't we have a "round-robin" load balance option? > > I hate that sometimes jenkins uses 3 full node and the other 10 is > unused... > Yes, exactly my point! :)

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
That of course depends on the task at hand. In our case, the run times vary between 1h30 and 3h30 depending on the load. If the server is not loaded, our test suite, which runs tests in parallel, can make full use of all 16 cores. On Thursday, July 26, 2012 5:02:55 PM UTC+2, mpapo - Michaël Pa

Re: Load Balancing

2012-07-26 Thread Adam PAPAI
Anyway: Why don't we have a "round-robin" load balance option? I hate that sometimes jenkins uses 3 full node and the other 10 is unused... How hard is to implement it? Michaël Pailloncy wrote: Ok, I'm not sure that 6 builds of the same job (for example) will be faster if you run them on 6 sl

Re: Load Balancing

2012-07-26 Thread Michaël Pailloncy
Ok, I'm not sure that 6 builds of the same job (for example) will be faster if you run them on 6 slaves or in one slave with 6 slots. Taking in account that the 6 slaves have the same capacity and are properly sized to accommodate 6 simultaneous builds. Maybe it could be in interesting experience t

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
> > > > It would be nice if the scheduling was configurable. It seems that the > > "Throttle Concurrent > > Builds" plugin [1] works in that direction: it can make sure to never > run > > more than X builds > > on one machine. What I'm looking for is not a limited, but a balanced > > schedul

Re: Load Balancing

2012-07-26 Thread Les Mikesell
On Thu, Jul 26, 2012 at 9:06 AM, Lukas Rytz wrote: > There was a delay of ~10 seconds between starting each build. > > You can see some details in the screenshot of my original post: We have 5 > slaves here, > one of them was already running one job, all of the others were idle. > > It would be ni

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
On Thursday, July 26, 2012 4:43:38 PM UTC+2, mpapo - Michaël Pailloncy wrote: > > Ok, sorry ! I had not seen your screenshot. > Jenkins behaviour does not surprise me. It seems to set the priority to > slave where a build has already be done. > Otherwise, why do you need this feature ? Becaus

Re: Load Balancing

2012-07-26 Thread Ferenc Kovacs
On Thu, Jul 26, 2012 at 11:49 AM, Lukas Rytz wrote: > Hi, > > Is there a way to change the way Jenkins does load balancing? I started 6 > new jobs, and 5 of > them ended up on the same slave. > > I'd prefer the load be distributed equally across all slaves.. > somebody will correct me, if I'm w

Re: Load Balancing

2012-07-26 Thread Michaël Pailloncy
Ok, sorry ! I had not seen your screenshot. Jenkins behaviour does not surprise me. It seems to set the priority to slave where a build has already be done. Otherwise, why do you need this feature ? I'm sure that if you create 10 jobs and launch 10 builds on each, Jenkins will use all available slo

Keep this slave on-line as much as possible

2012-07-26 Thread Stanley, Jason
Hello I have the following option set for the availability of my slaves. Keep this slave on-line as much as possible This is the default and normal setting. In this mode, Jenkins uses tries to keep the slave on-line. If Jenkins can start the slave without user assistance, it will periodically a

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
There was a delay of ~10 seconds between starting each build. You can see some details in the screenshot of my original post: We have 5 slaves here, one of them was already running one job, all of the others were idle. It

Aggregate downstream test results

2012-07-26 Thread michael chiu
HI ALL, I have successfully setup two jobs - build and test with fingerprint files. I would aggregate downstream test result in the upstream project. I'm confused. What's kind of test results will be aggreate ? only JUNIT ? PMD? How can I apply our in-house test script f

Re: Load Balancing

2012-07-26 Thread Michaël Pailloncy
Did you launch your 6 differents jobs at the same time ? It's curious that Jenkins use the same slave for 5/6 builds. How many slaves do you have ? 2012/7/26 Lukas Rytz > Yes, I'm aware of that. > > All of the slaves in question have that field set to "Utilize this slave > as much as possible".

Re: Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Slide
Build is an instance of AbstractBuild. On Thu, Jul 26, 2012 at 6:46 AM, Varghese Renny wrote: > I checked the archives and all. It's not pointing to which .groovy file will > be created for each job we are creating..In email-ext plugin home page, it's > only showing 4 variables are available- can

Re: Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Varghese Renny
I checked the archives and all. It's not pointing to which .groovy file will be created for each job we are creating..In email-ext plugin home page, it's only showing 4 variables are available- cancel,msg,build..it's not saying where it belongs to..is it an object, if yes, which groovy class it is

Re: Load Balancing

2012-07-26 Thread Lukas Rytz
Yes, I'm aware of that. All of the slaves in question have that field set to "Utilize this slave as much as possible". On Thursday, July 26, 2012 2:58:46 PM UTC+2, mpapo - Michaël Pailloncy wrote: > > Hi, > > In each of your slave, you can change the default strategy of how Jenkins > use its

Re: Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Slide
Check the archives, I've written about this type of thing before. On Thu, Jul 26, 2012 at 6:02 AM, Varghese Renny wrote: > So if it is represented using xml then how can i check the condition like > build reason of this job is due to upstream cause.. > Actually i needed to write like that in pre

Re: Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Mark Waite
I don't know how to check the reason a job was launched, nor how to use that reason in another plugin.  Sorry... > > From: Varghese Renny >To: jenkinsci-users@googlegroups.com >Sent: Thursday, July 26, 2012 7:02 AM >Subject: Re: Where two dependent job relation

Re: Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Varghese Renny
So if it is represented using xml then how can i check the condition like build reason of this job is due to upstream cause.. Actually i needed to write like that in pre script of email-ext plugin. Thanks in Advance, varghese

Re: Load Balancing

2012-07-26 Thread Michaël Pailloncy
Hi, In each of your slave, you can change the default strategy of how Jenkins use its slaves. http://your-jenkins:8080/computer/yourslave/computer Property 'Usage' Michaël 2012/7/26 Lukas Rytz > Hi, > > Is there a way to change the way Jenkins does load balancing? I started 6 > new jobs, and 5

Re: Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Mark Waite
The typical dependencies between jobs are represented in the config.xml files of the jobs. As an example, one of my jobs includes the following information in config.xml:           JobA,JobB     That says the job represented by this config.xml will start JobA and JobB when it completes. Ma

Re: Problems with JVM Parameters in Freestyle Jobs with Maven Builder

2012-07-26 Thread Michaël Pailloncy
Hi, I think that Xmx is the maximal heap size and Xms the initial. Your job does not appear to exceed your 4go of memory. If you put -Xms8g, your job will certainly crash. Michaël 2012/7/26 Markward Schubert > Hi Group! > > Is there some known issue with JVM Parameters being ignored for Maven

Where two dependent job relation can seen in jenkins folder

2012-07-26 Thread Varghese Renny
I wanted to see the file corresponding to two dependent job of jenkins? Like if we mention two jobs are dependent, what file it will generate for dependency? Thanks in Advance, varghese

Problems with JVM Parameters in Freestyle Jobs with Maven Builder

2012-07-26 Thread Markward Schubert
Hi Group! Is there some known issue with JVM Parameters being ignored for Maven build steps in freestyle jobs? I have the following parameters set: -XX:PermSize=128m -XX:MaxPermSize=512m -Xms512m -Xmx1g It seems that these are ignored, because when I put -Xmx8g, the build runs as if i wrote 1g

Load Balancing

2012-07-26 Thread Lukas Rytz
Hi, Is there a way to change the way Jenkins does load balancing? I started 6 new jobs, and 5 of them ended up on the same slave. I'd prefer the load be distributed equally across all slaves.. Thanks.

Re: Jenkins Jobs hangs at sending email

2012-07-26 Thread nathan grunzweig
Hi, sorry, i don't know how SubversionBlame plugin is related. the problem is in class SubversionMailAddressResolverImpl, which is in subversion plugin, not subversion blame (i think). we preferred not to change any existing code, since we could override the behavior externally. a chain of respo

Re: Cobertura plugin - Skipping Cobertura coverage with a post-built step

2012-07-26 Thread Miguel Almeida
Downgrading to the 1.3 version of the plugin makes it work as expected. Added the information to bug ticket https://issues.jenkins-ci.org/browse/JENKINS-14552 On Wed, Jul 25, 2012 at 2:01 PM, Miguel Almeida wrote: > Dear all, > > I have a multi-module maven project. I'm currently running the goal

Re: CVS and extssh

2012-07-26 Thread Sascha G.
Hi, I had the same problem with the SSH connection for a CVS export with Jenkins-CI. The solution was to convert the PuTTy-generated SSH .ppk into an OpenSSH file. After that it works great! Regards, Sascha On Wednesday, May 2, 2012 2:41:13 PM UTC+2, Xavier NOPRE wrote: > > Hi, > > I've just

Re: Email-ext plugin Pre send script

2012-07-26 Thread Varghese Renny
One more question..How do i know which all variable are available in classes corresponding to two dependent jobs..Where i can find the class corresponding to dependent jobs? Then only i can create some instance to call build cause and all.. Thanks in Advance, varghese