Why is SIGTERM trap in freestyle shell script not executed?

2013-04-16 Thread bl0ck3r
In a freestyle job, the build phase has the following script: #!/bin/bash trap 'echo "Death by SIGTERM"; kill $pid; exit 15;' SIGTERM sleep 10 & pid=$! echo "Waiting" wait $pid echo "Exit status: $?" When this is aborted with the UI [x] red box, the message "Death by SIGTERM" never appears, but

Re: Force configuration in matrix build to be the last step

2013-04-16 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Why not just run this last job as a child job of the matrix build? The matrix build is really designed for running the *same* steps for each cell in the matrix; if you find yourself trying to coerce it into handling an entire flow of builds, you're probably heading the wrong direction. The purp

Re: Force configuration in matrix build to be the last step

2013-04-16 Thread Adam Daughterson
Thanks for the quick reply, Sami. I'm interested in forcing the particular configuration to run last because I have lots of tests which generate quite a bit of useful debugging info on the back-end of the target that I am running the exhaustive tests against. Once the testing is complete, I r

Re: Error from Gradle Plug-in retrieving gradle executable

2013-04-16 Thread Matt Zimmer
Seems to have been a transient issue... On Monday, April 15, 2013 5:06:56 PM UTC-7, Matt Zimmer wrote: > > Hello all, > > A gradle build of mine started failing mid-day today after succeeding > earlier in the day (and for the past few months). > > There were no changes to the build.gradle or the

Re: Can I ask Jenkins to ignore return code?

2013-04-16 Thread Pete Akey
Thanks! Worked like a charm. On Apr 16, 2013, at 2:39 PM, "Mandeville, Rob" wrote: > $ sshpass -p 'password' ssh -t user@172.16.5.4 'shell' || true > > If the sshpass command returns nonzero ("fails"), you then run and return the > value of the 'true' program. > > --Rob > > -Original Me

RE: Can I ask Jenkins to ignore return code?

2013-04-16 Thread Mandeville, Rob
$ sshpass -p 'password' ssh -t user@172.16.5.4 'shell' || true If the sshpass command returns nonzero ("fails"), you then run and return the value of the 'true' program. --Rob -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf

Can I ask Jenkins to ignore return code?

2013-04-16 Thread Pete Akey
Hi, I'm attempting to connect to a remote machine using sshpass. The script that is being run is exiting with "exit 0" but the exit code that is returned to the Jenkins "Execute shell" is "255". I think CLish is making this task challenging. Can I ask Jenkins to accept a return code of 255 f

Re: Trac Publisher plugin

2013-04-16 Thread Magnus Therning
On Tue, Apr 16, 2013 at 06:14:02AM +0200, Magnus Therning wrote: > On Apr 15, 2013 10:07 PM, "Brent Atkinson" wrote: >> >> Magnus, >> >> I was able to successfully using: >> >> * Jenkins ver. 1.480.3 w/Trac Publisher Plugin 1.3 >> * Trac 1.0.1 w/XmlRpcPlugin 1.1.2-r12546 > > I can't run any t

Re: Problem with sending email

2013-04-16 Thread Slide
Hmmm, that's all you get? No timeout at all or anything? On Tue, Apr 16, 2013 at 10:45 AM, Vladimir Zak wrote: > Yes, and this is a report. > > > > Running from: C:\_jenkins\jenkins\jenkins. > war > webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") > Jenkins home directory: c:\_jenkins\jenkins

Re: Problem with sending email

2013-04-16 Thread Vladimir Zak
Yes, and this is a report. Running from: C:\_jenkins\jenkins\jenkins. war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Jenkins home directory: c:\_jenkins\jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME") DEBUG: JavaMail version 1.4.4 DEBUG: successfully loaded resource: /META-INF

RE: Problem with sending email

2013-04-16 Thread Alex Earl
Did you try enabling the javamail debug like I suggested? Sent from my Windows Phone -- From: Vladimir Zak Sent: 4/16/2013 10:00 To: jenkinsci-users@googlegroups.com Subject: Re: Problem with sending email Hello, I tried to run new jenkins from the war and try to send

Re: Problem with sending email

2013-04-16 Thread Vladimir Zak
Hello, I tried to run new jenkins from the war and try to send email. The problem is still there - so it seems to me that the problem is not in Jenkins itself. Do you have any hint where the problem could be? I think * firewall for jenkins not for the port because telnet is available * permissio

Re: Subversion Merge Plugin - automatic integration - quick question

2013-04-16 Thread Les Mikesell
On Mon, Apr 15, 2013 at 12:24 PM, Z W wrote: > In Jenkins Subversion Merge Plugin - automatic integration feature, > > 1- does it actually, in svn terms, after a successful --reintegrate to a > trunk, then actually delete the branch and recreate it ? > 2- If so, isnt it true that the "new" branch

Re: Problem with sending email

2013-04-16 Thread Vladimir Zak
Hello, I have tried all things but still it is not working. You can see the log files. Do you have any other hint for me, please? Using telnet - so SMTP server is working 220 mai ESMTP Service (Lotus Domino Release 8.5.3FP3) ready at Tue, 16 Apr 2013 18:40:04 +0200 Thank you zakyn --

Re: java.lang.NullPointerException when loading folders

2013-04-16 Thread Joshua Sinfield
I've just upgraded to 1.511 and we're still getting the same error. There has been no new release of the Folders plugin either. Anybody got any ideas? Cheers, Josh -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Anyone have SCM poll trigger working with dynamic base clearcase view on windows?

2013-04-16 Thread Greg Moncreaff
I've tried *Jenkins ClearCase Plug-in* This plugin makes it possible to retrieve files from a ClearCase SCM using a configspec. *1.3.14* the ctlshis

Re:Build Status of job

2013-04-16 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
There is no build status while the build is still executing. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: Apr 16 2013 12:16:55 Is it possible to get build status of project in environment variable like $BUILD_NUMBER? I have requirem

Build Status of job

2013-04-16 Thread sanky786
Is it possible to get build status of project in environment variable like $BUILD_NUMBER? I have requirement of getting certain unix commnads to be executed depending on build is SUCCESS or FAILURE. Thanks. -- You received this message because you are subscribed to the Google Groups "Jenkins

Subversion Merge Plugin: how to change maven pom after branching

2013-04-16 Thread Erik
Hello, I just discovered the Subversion Merge Plugin, which allows branching, merging and rebasing in jenkins. Is there a way to automatically adapt the pom.xml after branching? The scm-section and the version should be changed in my opinion. And can these changes be excluded from merging? Th

[ANNOUNCE] JenkinsMobi V4 Beta

2013-04-16 Thread Luca Milanesio
For those who are using JenkinsMobi "on-the-go", we started the Beta program of the new V4 platform. We will be following a new "Mobile ALM" approach (see http://www.slideshare.net/lucamilanesio/jenkins-mobileapplicationlifecycletrellocollab-net) and new features will be added on a daily basi

choice parameter and list of values to the script

2013-04-16 Thread Narahari 'n' Savitha
Friends: If this is already answered please point me there and do not flame me. Thank You all for your time and attention. My jenkins job is a choice parameter build. I have 5 choices for the paramName=env-data ALL TEST1 TEST2 TEST3 TEST4 Now the script gets the env variable with value of wha

RE: Jenkins Enterprise - clone and/or relocate

2013-04-16 Thread david.doughty
Hi Stephen, I got your response to my support ticket, too :o) I just need to source a license for the dev/test environment now Many Thanks dD From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: 16 April 2013 12:11 To: jenkinsci-

Re: Jenkins Enterprise - clone and/or relocate

2013-04-16 Thread Stephen Connolly
we should continue discussing this on the support ticket in our system On 16 April 2013 11:07, wrote: > ** ** > > I want to create a copy from production into UAT/TEST for deploying new > plugins etc., setting up integrations etc. > > ** ** > > However, having copied the entire jenkins inst

Re: Problem with sending email

2013-04-16 Thread Slide
This [1] is the best answer, turn on the debugging via the command line switch. slide 1 -http://www.oracle.com/technetwork/java/faq-135477.html#debug On Tue, Apr 16, 2013 at 3:33 AM, zakyn wrote: > Hello, > > I have the following problem. > > Some days ago it is not possible to send any email

BuildResultTrigger polling issue

2013-04-16 Thread wildejenkins
Hi, We are using the BuildResultTrigger plugin to kick-off a nightly build if another build is successful. Last night this did not work with the BuildResultTrigger log giving the message: Polling remotely on lnxdws017 No nodes were available at startup or at previous poll. Recording environment

Problem with sending email

2013-04-16 Thread zakyn
Hello, I have the following problem. Some days ago it is not possible to send any emails from Jenkins build server. Nothing was changed in network, machine and jenkins but still I receive an following error. I am able to send email from the machine with the same user, with the same machine,

Jenkins Enterprise - clone and/or relocate

2013-04-16 Thread david.doughty
I want to create a copy from production into UAT/TEST for deploying new plugins etc., setting up integrations etc. However, having copied the entire jenkins install it keeps coming up thinking its part of a cluster with the production box. Does anyone know how I can easily un-bundle them (with

Re: Build Queue max size

2013-04-16 Thread Ronan LE BRUN
Small follow-up to close the case. The limit I was experiencing in the build queue was due to the test I was using to stress Jenkins, which was a simple echo. Since the tests were quick to finish and I had lots of requests coming in Jenkins was a bit slow to answer, enough to look like it was w

Re: Slowness in Jenkins

2013-04-16 Thread aswini.r
This is how Jenkins gets started, java -XX:MaxPermSize=512m -XX:PermSize=128m -Xms2g -Xmx2g The Max Permsize for jvm is 512mb. Isn't this enough? -- View this message in context: http://jenkins.361315.n4.nabble.com/Slowness-in-Jenkins-tp4662449p4662959.html Sent from the Jenkins users mailing l

Re: Slowness in Jenkins

2013-04-16 Thread Stephen Connolly
Is the JVM low on permgen? On 16 April 2013 10:13, aswini.r wrote: > I was monitoring the CPU and memory usage of Jenkins when it runs very > slow. > I used the top command to do that and found out Jenkins process uses nearly > 400% of CPU when it is loaded fully. Memory usage is only 20-25%. S

Re: Parallel execution of JBOSS Servers

2013-04-16 Thread Aswini Rajasekaran
Thanks Geoff. I tried that and it works fine. My current slave configuration is like this, take it online only when needed, or take it offline. But, when I trigger 2 jobs with the same throttle category, one runs on the master and the other job waits for the 1st one to get over. It should be ab

Re: Slowness in Jenkins

2013-04-16 Thread aswini.r
I was monitoring the CPU and memory usage of Jenkins when it runs very slow. I used the top command to do that and found out Jenkins process uses nearly 400% of CPU when it is loaded fully. Memory usage is only 20-25%. So I think memory shouldn't be a problem. I am not sure how to fix the CPU issue