Jenkins terminal configuration

2013-12-18 Thread uttam hoode
Hi All, I have a program similar to top command which displays some information on terminal and every second screen is refreshed. I tried to run the command from Jenkins but I am getting "failed tty get" error. Also when I tried to run the command from cron, I am getting the same er

Re: NullPointerException in maven builds since upgrading to 1.532.1 LTS release

2013-12-18 Thread Daniel Beck
Is there no stack trace? On 18.12.2013, at 21:50, Jonathan Brown wrote: > I recently upgraded our environment from 1.466 to the most recent LTS > release, 1.532.1. We are now experiencing frequent failures with our maven 3 > builds. Nothing else in the environment was changed. Furthermore,

NullPointerException in maven builds since upgrading to 1.532.1 LTS release

2013-12-18 Thread Jonathan Brown
I recently upgraded our environment from 1.466 to the most recent LTS release, 1.532.1. We are now experiencing frequent failures with our maven 3 builds. Nothing else in the environment was changed. Furthermore, the same project will fail at different points on subsequent build attempts.

Re: --sessionTimeout and a restarted server

2013-12-18 Thread Daniel Beck
On 18.12.2013, at 19:11, Richard J Otter wrote: > Will a large value for the new –sessionTimeout parameter allow jobs on slaves > to reconnect to a Jenkins server after the server is restarted? It's just for HTTP sessions, not for slave connections. OTOH, it's enough to reload config from dis

Re: email-ext groovy parsing build log question

2013-12-18 Thread Daniel Beck
You can wrap multiple lines in <% %>. The way you wrap each line individually works, but every line break between %> and %< gets printed. Instead, do it like this: > <% def rdr= new InputStreamReader(build.getLogInputStream()) > rdr.eachLine{ it -> > if(it.contains("[error

Re: Execute a subsequent job on a slave

2013-12-18 Thread Eric Wood
Is there any further documentation on the build flow plugin then what is provided in the plugin home page? On Wednesday, December 18, 2013 2:35 PM, Les Mikesell wrote: On Wed, Dec 18, 2013 at 1:10 PM, Eric Wood wrote: > We have a series of virtual servers > configured to run these tests an

Re: Execute a subsequent job on a slave

2013-12-18 Thread Les Mikesell
On Wed, Dec 18, 2013 at 1:10 PM, Eric Wood wrote: > We have a series of virtual servers > configured to run these tests and were planning on running this "step" on a > slave. You can't run a 'step' on a different host than where the current job is running. > It does not appears that I can run an

Execute a subsequent job on a slave

2013-12-18 Thread Eric Wood
We heavily use a build pipeline where the first job is a CI job that pulls code from  repository, pushes it to a cloud platform, compiles and unit tests the code.  Downstream jobs in the pipeline deploy code in a promoted fashion through a series of target environment ... ending in "Production".

Cron scheduled jobs not triggering (only some)

2013-12-18 Thread John Lavoie
We upgraded to 1.509.4 a little while ago and ever since we have some jobs that should trigger on a nightly basis but are not running as scheduled. We have other jobs that poll SVN on a regular basis and do run. But the ones which we want to run regardless of SVN changes are not triggering. There

--sessionTimeout and a restarted server

2013-12-18 Thread Richard J Otter
The discussion of the new sessionTimeout parameter has piqued my interest. One of my biggest problems in managing our Jenkins server is finding a time when I can restart it. We have many long running (>8 hr) test jobs that I hate to cancel because of the time investment already committed. We ha

updating multi SCM as new git repos are added

2013-12-18 Thread schujk
I'm trying to best determine how to update Jenkins build jobs as new git repos are added. I took a look at the DSL plugin, but that seems to create new build jobs, where i need to update existing build jobs with additional repos. We are using Atlassian's STASH to house our Git environment. I'm

email-ext groovy parsing build log question

2013-12-18 Thread Steven Deal
Backstory: our build produces a 35000+ line log file (forget turning down the logging level). A compile error or such might be scattered anywhere over this output and typically will not be in the last few lines. Build emails became nearly useless as they rarely showed a developer what actually

Re: JGit and submodule processing

2013-12-18 Thread Mark Waite
Interesting. I've found the JGit feature and performance gaps to be much more challenging than using the command line implementation from msysgit. However, there is a recent bug which affects the command line git implementation and submodules, so maybe you're encountering that bug: https://issue

JGit and submodule processing

2013-12-18 Thread Tomhe
The git client plugin using msysgit is very unreliable on Windows so I'd like to switch to JGit instead, but I need submodule processing. Currently I get FATAL: not implemented yetjava.lang.UnsupportedOperationException