Re: Parameterized job with two stages?

2013-01-22 Thread Nalin Makar
How about creating your own custom parameter? When user enters the ticket id, you could then use AJAX to look up and display information of the Jira Ticket on the same page. On Mon, Jan 21, 2013 at 4:05 AM, syl20bnr sylvain.ben...@gmail.com wrote: AFAIK, it's not possible to do this out of the

Re: Jenkins exit code 143 - due to Unexpected termination of the channel

2013-01-22 Thread Richard Mortimer
Hi, On 22/01/2013 00:02, BobTheBuilder wrote: Hello, I have a long running build that never runs to completion on the slave computer, it gets Maven JVM terminated unexpectedly with exit code 143. Exit codes over 128 signify that the process died due to a signal. exitcode = 128 + signal

Re: Jenkins exit code 143 - due to Unexpected termination of the channel

2013-01-22 Thread Richard Lavoie
128+25=153 not 143 the signal is 15 not 25 Richard On 2013-01-22, at 04:13, Richard Mortimer ri...@oldelvet.org.uk wrote: Hi, On 22/01/2013 00:02, BobTheBuilder wrote: Hello, I have a long running build that never runs to completion on the slave computer, it gets Maven JVM terminated

Re: Jenkins exit code 143 - due to Unexpected termination of the channel

2013-01-22 Thread Richard Mortimer
On 22/01/2013 10:47, Richard Lavoie wrote: 128+25=153 not 143 the signal is 15 not 25 Damn! Indeed it is. That'll teach me to send messages before first coffee of the day. Well signal 15 is SIGTERM. My initial thought was that the issue would have been due to the kernel OOM (out of

Build failure Analyzer Plugin’s odd behaviour

2013-01-22 Thread jhoomsharabi
Hi I am seeing strange problem on my Jenkins 1.496 server running on Solaris box, 1. I cannot see Build Failure Analyzer plugin bulb icon under “Build History” section instate of icon a text “Identified problems” is visible 2. When I click on logs under “Build History” for a

Java error since upgrade to 1.480.2 LTS

2013-01-22 Thread David Aldrich
Hi This morning I upgraded Jenkins from 1.480.1 to 1.480.2 and restarted Jenkins. Now one of my jobs fails with: Started by user me FATAL: null java.util.NoSuchElementExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.util.NoSuchElementException at

RE: Java error since upgrade to 1.480.2 LTS

2013-01-22 Thread David Aldrich
Hi Riccardo Thanks very much for your reply. I upgraded to the latest version of JobConfigHistory when I upgraded Jenkins this morning. I have now downgraded JobConfigHistory from 2.1 to 2.0 and the error has gone away. Thanks for your help David -Original Message- From:

Re: Java error since upgrade to 1.480.2 LTS

2013-01-22 Thread Kathi Stutz
Well, the problem is indeed caused by the latest version of the JobConfigHistory plugin. It happens when you start to build a project which has no configuration history yet. I'll try to release a hotfix version today. As a workaround right now you can just change something in the configuration of

RE: Java error since upgrade to 1.480.2 LTS

2013-01-22 Thread David Aldrich
Hi Kathi Thanks for your answer. David -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- us...@googlegroups.com] On Behalf Of Kathi Stutz Sent: 22 January 2013 13:09 To: jenkinsci-users@googlegroups.com Subject: Re: Java error since upgrade to 1.480.2

Job Queue and parallel batch commands

2013-01-22 Thread Fabian Birk
Hello, I have 2 questions: 1. Is it possible to set up a queue for similar jobs? I want to run many jobs parallel except the jobs which are using the same resource. In CruiseControl.Net you are able to define a queue and the jobs in this queue arent allowed to run parallel. 2. Is it possible

Re: Job Queue and parallel batch commands

2013-01-22 Thread Fabian Birk
I got another question: There are several teams with Jenkins instances. These instances should be able to configure indivdual but all the buildresults have to be visible on a master jenkins instance. Ive tried Build Publisher (https://wiki.jenkins-ci.org/display/JENKINS/Build+Publisher+Plugin)

NPE when sending mails

2013-01-22 Thread Christian Petry
Hi, have Jenkins 1.499 installed on a Linux machine. Some days ago i have upgraded my jenkins installation from 1.465. When a build fails i get the following NPE: [INFO] [INFO] BUILD SUCCESS [INFO]

Re:Amazon EC2 plugin not waking up stopped slaves

2013-01-22 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
Yes, I use it heavily with my slave templates configured to 'stop' instead of 'terminate', and the plugin properly restarts the slaves when they are needed. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: Jan 20 2013 08:57:48 Hi,

Re: Job Queue and parallel batch commands

2013-01-22 Thread Eric Pyle
Hi Fabian, 1. The simplest solution would be to restrict those similar jobs to a single slave, and set up that slave with only 1 executor. 2. There's no way to do this as far as I know. You could achieve something similar if you set up each batch command in a separate job and used the Join

Converting paths with spaces

2013-01-22 Thread Scott Evans
Within my ant build script, I have a legacy program that is failing because the workspace name has a space in it, and so it's failing as the whole path isn't getting passed in as an argument to this program. It really isn't a solution at this time to change the project name to one without spaces,

RE: Converting paths with spaces

2013-01-22 Thread Mandeville, Rob
You mean like C:\PROGRA~1? I don't think 8.3 conversion exists any more. I think it went out with Windows 95. Can you surround the argument with double-quotes? --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Scott Evans Sent: Tuesday,

Re: Converting paths with spaces

2013-01-22 Thread JonathanRRogers
On Tuesday, January 22, 2013 10:54:40 AM UTC-5, SA Evans wrote: Within my ant build script, I have a legacy program that is failing because the workspace name has a space in it, and so it's failing as the whole path isn't getting passed in as an argument to this program. It really isn't a

Re: Converting paths with spaces

2013-01-22 Thread Slide
Is [1] what you are looking for? slide 1 - http://www.andypemberton.com/engineering/windows-short-file-name-shortpath-in-ant-task/ On Tue, Jan 22, 2013 at 9:19 AM, JonathanRRogers jonathanrrog...@gmail.comwrote: On Tuesday, January 22, 2013 10:54:40 AM UTC-5, SA Evans wrote: Within my ant

Re: Converting paths with spaces

2013-01-22 Thread Jonathan Rogers
Slide wrote: Is [1] what you are looking for? slide 1 - http://www.andypemberton.com/engineering/windows-short-file-name-shortpath-in-ant-task/ I should have known better than to reply to a question about Windows brain damage. -- Jonathan Rogers

RE: Converting paths with spaces

2013-01-22 Thread Todd Greer
8.3 conversion still exists in Windows 8, at least in cmd.exe (I tested it). I googled find 8.3 folder name and found http://stackoverflow.com/questions/1333589/how-do-i-transform-the-working-directory-into-a-8-3-short-file-name-using-batch, which provides what appears to be an excellent answer

Re: Amazon EC2 plugin not waking up stopped slaves

2013-01-22 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
Yes, I have a global instance cap and also a cap on each slave template (although per-template caps don't work properly in the current ec2-plugin version... I have patches to fix that that I'll be submitting soon). I believe I saw proper resumption of stopped instances even before I fixed the

infrastructure chef and jenkins integration usage - quick question

2013-01-22 Thread zw
Hi Could experts here share how infrastructure chef is usually used with jenkins ? Is chef, which we believe are meant for configurations and deployments to different environments, integrated with Jenkins using the execute shell step ? We new to chef.

Re: Amazon EC2 plugin not waking up stopped slaves

2013-01-22 Thread jpd4nt
The stopped instance is left in the stopped state. It just throws: Instance cap reached, not provisioning. I have set the global cap to 10, slave tmpl to 10 so it should spawn 10 slaves. On Tuesday, January 22, 2013 4:28:28 PM UTC, Kevin Fleming wrote: Yes, I have a global instance cap

Re: infrastructure chef and jenkins integration usage - quick question

2013-01-22 Thread Brad Knowles
On Jan 22, 2013, at 11:21 AM, zw mpc8...@gmail.com wrote: Could experts here share how infrastructure chef is usually used with jenkins ? Is chef, which we believe are meant for configurations and deployments to different environments, integrated with Jenkins using the execute shell step ?

Re: PHING_HOME VS PEAR

2013-01-22 Thread Vishal Mote
Started by user anonymous http://192.168.4.202:9090/user/null Building in workspace /var/lib/jenkins/jobs/MyJob1/workspace looking for '/var/lib/jenkins/jobs/MyJob1/workspace/build.xml' ... use '/var/lib/jenkins/jobs/MyJob1/workspace' as a working directory. [workspace] $ phing -buildfile

FATAL: command execution failed.Maybe you need to configure the job to choose one of your Phing installations?

2013-01-22 Thread Vishal Mote
Started by user anonymous http://192.168.4.202:9090/user/null Building in workspace /var/lib/jenkins/jobs/MyJob1/workspace looking for '/var/lib/jenkins/jobs/MyJob1/workspace/build.xml' ... use '/var/lib/jenkins/jobs/MyJob1/workspace' as a working directory. [workspace] $ phing -buildfile

Re: Amazon EC2 plugin not waking up stopped slaves

2013-01-22 Thread jpd4nt
Ok. Rebooted the box and it now works. I tried increasing the caps - did not work reload jenkins-ci - did not work reboot, so restart jenkins - worked Cap value must only being read at startup time then. Will have to find time to full test this, and get into the jenkins bug tracker. Anyway

Re: Converting paths with spaces

2013-01-22 Thread Benjamin Lau
command.com changed to cmd.exe at some point in the last decade or two... maybe that's an NT and later thing... Ben On Tue, Jan 22, 2013 at 1:02 PM, Scott Evans milwrd...@gmail.com wrote: Slide, Yes, that would do pretty much what I needed, if I weren't needing to run this on a Win-7 x64 box

Re: Amazon EC2 plugin not waking up stopped slaves

2013-01-22 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
(Please use 'reply' and not 'reply-all'... I don't need two copies of your replies, one in my inbox G) As I mentioned before, instance cap management in the current ec2-plugin is a bit suspect, although I would have only expected it to fail in the other direction (too many instances, not too

disable/enable job config file - quick question

2013-01-22 Thread zw
Hi All What file in Jenkins contains the parameter to enable or disable a job ? Thanks

Changes since last success in email using email-ext jelly script

2013-01-22 Thread uma shankar
Hi, I have been using email-ext plugin bundled script html.jelly for email. But now i want to add changes since last success in email. I have tried some code provided here http://stackoverflow.com/questions/6386635/infinite-loop-in-jelly-script-for-jenkins-email-ext-plugin-why;, but getting

Re: disable/enable job config file - quick question

2013-01-22 Thread uma shankar
Below parameter gets changes as true/false respectivly when you disable/enable the project. File location: $JENKINS_HOME/jobs/$JOBNAME/config.xml disabledtrue/disabled On Wednesday, 23 January 2013 00:41:46 UTC+5:30, zw wrote: Hi All What file in Jenkins contains the parameter to enable

Re: Is it possible to let the jobs roam in a node cluster?

2013-01-22 Thread liam.j.bennett
I think this subject has come up several times. I know I have suffered with it for a long time myself. I can see situations where each method would be suitable so we should be able to configure it both globally at the label-level. So for example nodes with the label labelA have roaming mode

assignedNode in config.xml

2013-01-22 Thread J Arrizza
Hi, I'm writing some scripts to keep track of and update the nodes my jobs use. I've come across a problem that I can't seem to resolve. This is a rather long post, but I want to make sure I give you the info you need. If the Restrict where this project can be run is checked on the web page, a

Re: assignedNode in config.xml

2013-01-22 Thread J Arrizza
Update: I tried a quick change: - find the scm node and - insert the assignedNode element after it. Still no joy. The only thing left that I can see, is there is a missing \n after the /assignedNode when my script inserts the new node: assignedNodetm9/assignedNodeactions/ while Jenkins

Re: Is it possible to let the jobs roam in a node cluster?

2013-01-22 Thread Stephen Connolly
My employers have an enterprise plugin that implements an even load strategy, whereby unused slaves are preferred to slaves where the project previously built. On Monday, 21 January 2013, Jan Seidel wrote: Sorry for the late reply. I did lose this thread out of sight due to serious workload

Re: assignedNode in config.xml

2013-01-22 Thread Richard Lavoie
it is probably because you need to either reload the config file (I wouldn't do it that way), update the Job object in memory of jenkins or update the plugin object responsible for that option and behavior. The config is loaded on start and saved when change are made to the internal object

Re: assignedNode in config.xml

2013-01-22 Thread Richard Lavoie
It might also depends on the caching added lately to prevent reading too much unnecessary information into memory. Note that I'm not in front of my computer so what I'm saying in this mail and the last one are somewhat speculations, but some hints on where to look at now to see if you can

Slow SVN commit from batch step

2013-01-22 Thread Bill Wonch
Hi everyone - We're in the process of moving Jenkins jobs from a POC box to a server that has been configured for that task. We have one job that takes a 100 MB file from a network share, and commits it to trunk, gets some metadata from another process, then creates a tag using that metadata.

Re: assignedNode in config.xml

2013-01-22 Thread J Arrizza
Richard, Thanks for the reply... I use the #{@hosturl}/job/#{jobname}/config.xml url which does not require a reload of the config file. That is mentioned in the Jenkins doc page and in google hits . And I do have other settings working just fine (for example Block build when upstream project

Re: Jenkins exit code 143 - due to Unexpected termination of the channel

2013-01-22 Thread BobTheBuilder
Hello, Given the significant variation in time range that the JBehave test runs, I wouldn't expect the problem to be file size. If it was, it would fail around the same spot. However wanting to investigate all possibilities, I ran a ulimit -a and here's what I came up with: core file size

Re: Jenkins console gives Connection refused when using :ext: for CVSROOT and CVS_RSH=ssh

2013-01-22 Thread Cynsa Bonorris
that did the trick! version 2.7 lets you set CVS_RSH as an Advanced option under Source Code Management in the job config. many thanks! was really butting my head against this. -cynsa On Sunday, January 20, 2013 9:10:21 AM UTC-8, michael@gmail.com wrote: Have you tried updating to a

ArrayOutOfBoundsException referencing nonexistant build

2013-01-22 Thread Ian Mckay
Hi Jenkins CI Users, We are getting the following error after our build succeeds. We only have 7 builds in the project where it last occured and the exact same error occurs across multiple projects. Are there places I can look to see where this #49 comes from? [JENKINS] Archiving disabled

Error on connecting with a Windows Slave - quick question

2013-01-22 Thread zw
Hi All We have 2 Jenkins instances wanting to connect to the same windows box. 1 Jenkins instance connects fine. But the error has this below: Connecting to slave4_windows ERROR: Unexpected error in launching a slave. java.net.UnknownHostException: slave4_windows at

How to change slave port number on command line to connect to a slave - quick question

2013-01-22 Thread zw
Hi All We're not sure why we're getting this error message. 2 Jenkins instances are assigned to different port numbers on slave status port. What are we doing wrong ? Slave.jar version: 2.2.1 This is a Unix slave Slave successfully connected and online Jan 22, 2013 5:23:44 PM

request on version Jenkins ver. 1.494

2013-01-22 Thread bala nageswar Chadalavada
hI PLEASE let me know why he builds show red after success ful builds i am using the Jenkins ver. 1.494 http://jenkins-ci.org/ please suggest further -- Bala.ch

Re: disable/enable job config file - quick question

2013-01-22 Thread zw
Hi Uma Thanks for responding. I agree with the answer. On Tuesday, January 22, 2013 12:04:19 PM UTC-8, uma shankar wrote: Below parameter gets changes as true/false respectivly when you disable/enable the project. File location: $JENKINS_HOME/jobs/$JOBNAME/config.xml

Re: request on version Jenkins ver. 1.494

2013-01-22 Thread bala nageswar Chadalavada
My request was.. Even after the SUCCESSFUL BUILD the main jenkins page showing as RED Actual should be BLUE On Wed, Jan 23, 2013 at 12:44 PM, Slide slide.o@gmail.com wrote: It sounds like your builds are failing at some point, you need to look at the build log and find out why its being

Re: request on version Jenkins ver. 1.494

2013-01-22 Thread bala nageswar Chadalavada
OK i Enabled AUTO Fresh. for example...yesterday Nightly builds are scheduled ran successfully but it has shown as RED little confused here thanks bala On Wed, Jan 23, 2013 at 12:55 PM, Slide slide.o@gmail.com wrote: I understand your request and I am telling you that something in the

Re: request on version Jenkins ver. 1.494

2013-01-22 Thread Slide
If they are showing as red, then they failed somehow. You need to paste your build log, or look further into it. Jenkins shows a red ball when _something_ (not necessarily just your build steps) fail during that project's execution. Without further info (build log, etc) no one here can help you.