Re: Memory issues with Jenkins

2012-11-09 Thread Varghese Renny
Check your build where you are mentioning ant task..take advanced option adjacent to it...there give jvm memory... as argument.. On Fri, Nov 9, 2012 at 8:38 PM, David Weintraub wrote: > There's not a lot of jobs running on this. We're just getting Jenkins > setup, and maybe get one or two builds

Re: Groovy script to abort current build and skip other action of the job

2012-11-09 Thread Dirk Thomas
After reading a bit in the Jenkins sources I found a work around which works for me: throw new InterruptedException() marks the build as ABORTED and does not process any further build actions. Anyway I filled a bug report for the non-working Executor.interrupt() method: https://issues.jenkins-

Re: Making sure jobs run in sequence

2012-11-09 Thread Russ Tremain
One trick I have used is to set up a separate queue for the test job and constrain it to run only one job at a time. You do this by creating a slave on the same machine and assign the test job to it. You still might need to use locks & latches if you are running the build & test jobs in the sa

Making sure jobs run in sequence

2012-11-09 Thread Benjamin Lau
So I've got 2 jobs build test What I want to be able to do is make sure that they always run in this order and that text blocks build from running and build blocks test from running. I was able to accomplish that using the Locks and Latches plugin. The problem I'm running into is this... If I sta

Build Flow Plugin: No signature of method FlowDelegate.parallel()

2012-11-09 Thread r2_
Hey, I got a really cool looking error using Build Flow Plugin. The flow is just 2 parameterized jobs which should run in parallel on different nodes. Here's the DSL: parallel ( build("agile_code", ENVIRONMENT: params["ENVIRONMENT"], ACTION: params["ACTION"]), build("agile_db", ENVIRONM

Re: multi configuration project and xunit post build task

2012-11-09 Thread Simon Haegler
thanks, this is what i was ending up with. cheers, simon On Thursday, 8 November 2012 19:47:48 UTC+1, Mark Waite wrote: > > You could have each of the builds generate a "stub" unit test result file > which contains a single passing test, then have your testing job also add > the real tests. T

Re: dynamic popup memus

2012-11-09 Thread Marek Gimza
James, R U trying to copy and paste contents from the menu list? May I ask what your objective is in performing a copy & paste. I think that by explaining your objective and "user-case" scenario would better help the Jenkins "owners" understand your frustration. Kind Regards, Mgimza On Fri,

RE: dynamic popup memus

2012-11-09 Thread Matthew.Webber
Agreed. I find the inability to copy text from the web interface particularly frustrating. I don’t want to be too critical of the Jenkins developers – we all benefit from the work a lot of people put in to drive the product forward, but I think we have to accept that sometimes well-intentioned

dynamic popup memus

2012-11-09 Thread Nord, James
Arrghhh! Well now that's got your attention/back up[1] I would like to provide some feedback as to why I'm saying "Arrghhh" and the uses cases that I find are now killed because of it. I constantly find myself cutting and pasting bits of info from Jenkins to place elsewhere and half way throug

Re: LDAP users and local groups

2012-11-09 Thread David Weintraub
We have Jenkins setup, to use our Windows Active Directory, and our local Windows groups are also Jenkins groups too. I use the matrix base security to assign certain abilities for certain Windows groups. On Nov 9, 2012, at 10:15 AM, David Newman wrote: > Hi there, > Just wondering if it is po

Re: Dead Executor

2012-11-09 Thread RogerS
Thanks. That does indeed look very similar and I'm also running Jenkins as a service (on Windows Server 2008 R2). I haven't quite worked out how to update the bug yet... Kr Roger On Friday, 9 November 2012 13:41:25 UTC, Christopher Orr wrote: > > Sounds like it's possibly related to > https:/

LDAP users and local groups

2012-11-09 Thread David Newman
Hi there, Just wondering if it is possible to use Jenkins with LDAP users but local groups. I don't manage the LDAP server and it is a long process to get groups created and/or altered. So I am left with adding long lists of users to multiple Jenkins jobs. Any ideas? Thanks. -Dave

Re: How to get the result of the triggered job in one email

2012-11-09 Thread Sven Finsterwalder
Hi, *thank you for your help* now i have some lines of code that works (see below). *only one last question: how do i put the output into the log of the parent build??* def deploymentuni = Jenkins.getInstance().getItemByFullName("deployment-universal") def color = deploymentuni.getIconColor()

Re: Memory issues with Jenkins

2012-11-09 Thread David Weintraub
There's not a lot of jobs running on this. We're just getting Jenkins setup, and maybe get one or two builds per day. The problem seems to stem from the Analytic plugins: Findbugs, PMD, Checkstyle, Warnings, and CPD. The build completes fine, but when it is calculating the issues from the previo

Re: Editable Email Notification. How do I set conditional Email

2012-11-09 Thread AdvanTiSS
Huh, You're right I' not too familiar with groovy behavior, and yesterday while tuned email-ext publisher, i've faced with situation when output was null, beacuse *cancel=cause instanceof UpstreamCause;* returns result of last expression, but *def cancel=cause instanceof UpstreamCause;* r

RE: Editable Email Notification. How do I set conditional Email

2012-11-09 Thread Alex Earl
I'm pretty sure it will take the value of the last expression. Sent from my Windows Phone -- From: AdvanTiSS Sent: 11/9/2012 7:12 AM To: jenkinsci-users@googlegroups.com Cc: AdvanTiSS; Varghese Renny Subject: Re: Editable Email Notification. How do I set conditional Ema

Re: NoSuchRealmException on a basic maven job

2012-11-09 Thread Remi Carton
I tried on a tomcat6 instance with the same exact setup and it worked, so I'm going to migrate jenkins there. The thing is that I could build it using the command line, on that same server, so unless a hypothetic missing dependency is on the classpath it shouldnt build. I could try to build a hell

Re: Editable Email Notification. How do I set conditional Email

2012-11-09 Thread AdvanTiSS
Are you sure??? ExtendedEmailPublisher.java private boolean executePresendScript(AbstractBuild build, BuildListener listener, MimeMessage msg) throws RuntimeException { . Object output = shell.evaluate(presendScript);

RE: Editable Email Notification. How do I set conditional Email

2012-11-09 Thread Alex Earl
No, it doesnt Sent from my Windows Phone -- From: AdvanTiSS Sent: 11/9/2012 12:04 AM To: jenkinsci-users@googlegroups.com Cc: Varghese Renny Subject: Re: Editable Email Notification. How do I set conditional Email Pre-send script must have return statement if(cause) {

Re: Programmatically adding a Publisher

2012-11-09 Thread Christian Wolfgang
Yeah, I have tried that with no luck! On Fri, Nov 9, 2012 at 2:55 PM, AdvanTiSS wrote: > i think you should invoke project.save() method > > > On Friday, November 9, 2012 11:43:01 AM UTC+2, wolfgang wrote: >> >> Hi! >> >> I'm programmatically adding a Publisher in my plugin. The >> ProjectAction

Re: Programmatically adding a Publisher

2012-11-09 Thread AdvanTiSS
i think you should invoke project.save() method On Friday, November 9, 2012 11:43:01 AM UTC+2, wolfgang wrote: > > Hi! > > I'm programmatically adding a Publisher in my plugin. The > ProjectAction is working correctly, but the UI isn't showing until I > restart Jenkins? > If I enable it manual

RE: Memory issues with Jenkins

2012-11-09 Thread Mandeville, Rob
How many job runs do you have? Results (modulo output logs and artifacts) on every build that you can still see on Jenkins stay in memory. If you have a large number of jobs (such as having a CI build set up without telling it to only keep the last n builds or m days worth of builds), the meta

Re: AbstractLazyLoadRunMap bug in Jenkins 1.488

2012-11-09 Thread Christopher Orr
https://issues.jenkins-ci.org/browse/JENKINS-15652 looks like it's related. So it would likely be helpful if you add this information to that bug. Chris On 02/11/12 12:42, zonybob wrote: The only way I am able to get around this issue currently is to uncheck the following option for the Artif

Re: Dead Executor

2012-11-09 Thread Christopher Orr
Sounds like it's possibly related to https://issues.jenkins-ci.org/browse/JENKINS-15652 You could add info about your stacktrace, Jenkins config and environment to that bug. On 09/11/12 13:08, RogerS wrote: Hi, I'm relatively new to Jenkins and have created a set of jobs to build our C/C++

Re: How to get the result of the triggered job in one email

2012-11-09 Thread AdvanTiSS
Script language is a Groovy - syntax very similar to java. In groovy syste

Dead Executor

2012-11-09 Thread RogerS
Hi, I'm relatively new to Jenkins and have created a set of jobs to build our C/C++ project and test harnesses and run tests with the built executables, so the jobs have trigger links to trigger the next stage. After a 'reworking' of the jobs to use the Perforce plugin in a different way (util

Programmatically adding a Publisher

2012-11-09 Thread Christian Wolfgang
Hi! I'm programmatically adding a Publisher in my plugin. The ProjectAction is working correctly, but the UI isn't showing until I restart Jenkins? If I enable it manually, the UI is shown. Can I somehow activate the UI programmatically? Or is there a correct way to do it? Thanks. Christian Wol

Re: How to get the result of the triggered job in one email

2012-11-09 Thread Sven Finsterwalder
ok... thanks. What kind of language should i use for that script? java? How can i access the log output of the downstream job? Am Freitag, 9. November 2012 09:53:52 UTC+1 schrieb AdvanTiSS: > > 1. Use Copy Artifact > Plugin to > c

Re: How to get the result of the triggered job in one email

2012-11-09 Thread AdvanTiSS
1. Use Copy Artifact Plugin to copy artifacts from downstream job if you need 2. Use email-ext [pre-send script] feature to modify message content 3. Add artifacts as attachments to email On Friday, November 9, 2012 9:42:34 AM UTC+

Re: Single email notification from a muti-configuration project

2012-11-09 Thread AdvanTiSS
You can ask for email-ext plugin feature on Jenkins JIRA, or implement this. On Friday, November 9, 2012 9:29:44 AM UTC+2, Chai wrote: > > We currently use email-ext plugin for enabling email notifications on > builds. > > We see that the users are receiving mutiple notifications if the project