Re: upstream changeset info in the email-ext notify from downstream project

2012-07-25 Thread michael chiu
I don't know how to get upstream's changeset in email-ext . Do you know how to access upstream's changeset in groovy in email-ext ? Varghese Renny於 2012年7月23日星期一UTC+8下午8時24分26秒寫道: > > > From my opinion you can use promotion plugin in upstream job, for sending > the build details about the downst

Re: how to make windows batch command shell continue run after start up another program.

2012-07-25 Thread Sami Tikka
Maybe you can find help here: https://wiki.jenkins-ci.org/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins -- Sami ZHANG Xinchun A kirjoitti 25.7.2012 kello 9.15: > Hello, > I’m recenetly working on integrate Jenkins to our test process. > But I got this problem. > > ech

Re: How to spread task between few nodes?

2012-07-25 Thread Sami Tikka
Sounds to me it would be simplest to configure your nodes to have 1 executor. -- Sami lunatic kirjoitti 24.7.2012 kello 16.54: > Hello all, > > My task is the following: I have X different scripts. I need to run them on > different servers simultaneously: > - each script should be executed o

Re: Need Help on Running Jenkins Jobs with Proxy Settings

2012-07-25 Thread Woody Wu
Hey, Oliver, Thank you very much for your replay, I have echo the http_proxy environment, it is the correct value, but the setting is still not taking effects. Regards, Woody On Tue, Jul 24, 2012 at 6:13 PM, Oliver Drake wrote: > Hi Woody, > I usually just set http_proxy in the jenkins master

Re: Need Help on Running Jenkins Jobs with Proxy Settings

2012-07-25 Thread Sami Tikka
You need to begin by providing us some details. Just saying it doesn't work does not help us to help you. What is your operating system? How did you install Jenkins? What kind of job is it? What kind of build step? What is in the step exactly? Can you show us the config.xml? (Maybe put it in

Re: Possibility to get build_status using jenkins environment variable

2012-07-25 Thread Sami Tikka
Where is the ant task running? In the same build or in a different build? If the ant task is running in the same build, you can assume the build is successful, as it should have aborted if an earlier build step failed. If the tas is running in a different build, you need to fetch the build sta

How to perform local check of "Compute new warnings (based on reference build)"

2012-07-25 Thread abunetta
Hi, I was wondering if there are any suggestions about how I could perform a local check of "new warnings based on reference build". The use case is where there are a number of warnings in the build that are tolerated because they are considered "legacy warnings", but we don't want to allow an

Continuous Integration in the Cloud

2012-07-25 Thread Marina Sprava
Here's an instruction on how to deploy and use Jenkins in the cloud http://blog.jelastic.com/2012/07/25/continuous-integration-in-the-cloud-part-ii-jenkins/

Re: Possibility to get build_status using jenkins environment variable

2012-07-25 Thread Varghese Renny
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 access build_number, build_url but not build_status. So Where i needed to $JENKINS_URL/job/JOB/BUILD/api/xml using GET? Thanks in Advance, varghese

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

2012-07-25 Thread Miguel Almeida
Dear all, I have a multi-module maven project. I'm currently running the goal install and have a post-build step running the cobertura:cobertura goal. Cobertura is configured to produce the xml report (which I see in the workspace). However, I am getting the following console output [1], where it

Gratis Gå Hjem-Møde i Allerød - 7. August 2012 - Intro til Jenkins CI

2012-07-25 Thread Lars Kruse
*[This event is DANISH - feel free to contact us if you need an introduction and demo of Jenkins CI in English]* *Under kyndig vejledning af softwareudvikler og Configuration Manager Bue Petersen kan du opleve:* *Introduktion og demo af Jenkins Continuous Integration Server* *Tirsdag d 7. au

corrupted testng-results from builds

2012-07-25 Thread sensen
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.xml' 25.07.2012 15:37:52 hudson.plugins.testng.parser.ResultsParser log SCHWERWIEGEND: org.xmlpull.v1.XmlPullParserException: only

Email-ext plugin Pre send script

2012-07-25 Thread Varghese Renny
Hi, i wanted to write a script like canceling the email if build has been triggered due to upstream project. Can i use shell script?..i have seen variable cancel. But i don't see any example for it..Well i am not a groovy guy..Only shell and python i know.. Somebody please help for presend sc

Re: Email-ext plugin Pre send script

2012-07-25 Thread Slide
No, only groovy will work. On Wed, Jul 25, 2012 at 7:34 AM, Varghese Renny wrote: > > Hi, >i wanted to write a script like canceling the email if build has been > triggered due to upstream project. > Can i use shell script?..i have seen variable cancel. But i don't see any > example for it..W

Re: Email-ext plugin Pre send script

2012-07-25 Thread cjo
You could also try the flexible publish plugin[1], as a wrapper around the email-ext post build step and have the conditions of NOT and buildcause == upstream. if you don't want to have a groovy prestep. Haven't tried this, it is just a suggestion of an alternative way. [1] https://wiki.jenkin

Re: Email-ext plugin Pre send script

2012-07-25 Thread Varghese Renny
But in the flexible publish plugin i found only archive artifacts, pmd ,publish junit..no email-ext is there.. Thanks in advance, varghese

Re: Email-ext plugin Pre send script

2012-07-25 Thread Slide
Groovy is not hard to learn, especially if you want to do something fairly simple like you are asking. I would recommend just playing around with groovy in the script console, the script should port to the pre-send script area fairly well. slide On Wed, Jul 25, 2012 at 8:15 AM, Varghese Renny wr

RE: Question on which user accounts to use for Jenkins and for builds/access to source control

2012-07-25 Thread Mandeville, Rob
I'm assuming that you're talking about system accounts and groups, not SCM accounts. The fact that you're saying "groups" implies to me that you're using a Un*x flavor. Basically, if you need the build to run as "otto/dev", you have the choices below. SECURITY NOTE: In _all_ of these cases, y

Re: Email-ext plugin Pre send script

2012-07-25 Thread cjo
Then in most probabilities the email ext plugin does not have the required DataBoundConstructor needed for use with the Flexible publish plugin. It is probably not a simple change to make as there are several different options available for it. and the groovy solution is probably better and eas

Re: Email-ext plugin Pre send script

2012-07-25 Thread Varghese Renny
Thanks for reply Like in java, can i call like if(build.cause==upstream) { cancel=true } i know the only build and cancel are available..so how can i check like build.cause is due to upstream.. if condition i am not getting. Please help me for this code snippet Thanks in advance, varghese

Re: Email-ext plugin Pre send script

2012-07-25 Thread Slide
Yes, you can do the same as in Java. On Wed, Jul 25, 2012 at 8:46 AM, Varghese Renny wrote: > Thanks for reply > Like in java, can i call like > if(build.cause==upstream) > { > cancel=true > } > i know the only build and cancel are available..so how can i check like > build.cause is due to up

KSH on slave node

2012-07-25 Thread vfarcic
Does anyone know how to use KSH instead of SH shell on a slave node?

Re: Xcode Plugin Issues

2012-07-25 Thread Brad Knowles
Allen, I know that you have since resolved your issue, but I wanted to mention a weirdness that I have discovered when trying to drive Xcode from Jenkins. Using the Xcode plugin, you're actually using the "xcodebuild" tool from the command-line. However, this program works more like Xcode 3 t

Re: Job failing on workspace cleanup....file is open....

2012-07-25 Thread Jeff
I was off last week and am still getting caught back up All jobs do the following: - Poll SVN for changes - Check out a clean copy if a build is needed. - run 'mvn clean install deploy' - run post-build SONAR analysis. the locked POM file fails the builds of all my maven jobs at

No valid Crumb on plugin installation

2012-07-25 Thread Corey Quinn
We're using Github for our authentication here. When I attempt to upgrade or install plugins, I get a crumb error: Exception: No valid crumb was included in the request Stacktrace: (none) Logs are throwing: Jul 26, 2012 2:34:59 AM hudson.security.csrf.CrumbFilter doFilter WARNING: No valid cru

Jenkins Job pending in last step

2012-07-25 Thread Dio
It needs many times to close job after receive "POST BUILD TASK : SUCCESS" message. Jenkins Version is 1.467 and we use slave node to build. *-- LOG -- * : needs 4 hours to close job from "POST BUILD TASK : SUCCESS" to "Finished: SUCCESS" ... 18:53:06 POST BUILD TASK : SUCCESS *18:53:06

Re: Jenkins Job pending in last step

2012-07-25 Thread Slide
Why do you double post? On Wed, Jul 25, 2012 at 9:27 PM, Dio wrote: > It needs many times to close job after receive "POST BUILD TASK : SUCCESS" > message. > > Jenkins Version is 1.467 and we use slave node to build. > > > > -- LOG -- > > : needs 4 hours to close job from "POST BUILD TASK : SUCCE

Classes corresponding to depend jobs

2012-07-25 Thread Varghese Renny
Hi, i want to know the location of classes corresponding to two dependent job..(groovy).Also i need to know what all variables are available in these class.. So i can create instance and and call some upstream variable or something.. Thanks in Advance varghese

setting time zone for jenkins

2012-07-25 Thread krishna chaitanya kurnala
hi guys did anyone try setting user.timezone to PDT/LA TIme instead of the Default Universal time zone ? Please guide me if possible. thanks, Krishna Chaitanya

Re: Jenkins Job pending in last step

2012-07-25 Thread Corey Quinn
I only show one. Are you seeing different message IDs? On Jul 25, 2012, at 10:02 PM, Slide wrote: > Why do you double post? > > On Wed, Jul 25, 2012 at 9:27 PM, Dio wrote: >> It needs many times to close job after receive "POST BUILD TASK : SUCCESS" >> message. >> >> Jenkins Version is 1.467

Re: Jenkins Jobs hangs at sending email

2012-07-25 Thread vprasad79
Hello Nathan & Slide. Our LDAP configuration works well. Can you please let us know the changes that required for SubversionBlame source files to fix this issue. We will do it and deploy. Venkat On Wednesday, 4 July 2012 01:00:12 UTC+5:30, nathang wrote: > > - oh, btw, forgot to mention - a t

Re: Question on which user accounts to use for Jenkins and for builds/access to source control

2012-07-25 Thread JohnL
Thanks Rob. It is now much clearer to me now. johnl