Copy Jobs Between Jenkins Instances With Build History

2014-08-26 Thread AndyB
Hi, I'd like to transfer some jobs between two Windows Jenkins servers preserving the build history. I can easily transfer the configurations, either using the Job Import plugin or simply copying the config by hand. However I'm having trouble preserving the build history as Jenkins uses soft

Re: Scheduled Safe Restart

2014-03-01 Thread AndyB
it issues the safe restart command (obviously), then > it finishes, then Jenkins restarts. I've tested this before posting. > > On 28.02.2014, at 13:48, AndyB > wrote: > > > I suspect that the safe-restart waits for no jobs to be running (that's > the whole point o

Re: Scheduled Safe Restart

2014-02-28 Thread AndyB
a job that performs > safeRestart in a System Groovy build step with > 'jenkins.model.Jenkins.instance.safeRestart()'. Schedule as you would any > other job. > > On 27.02.2014, at 11:18, AndyB > wrote: > > > Hi, > > > > Could you tell me if i

Re: Scheduled Safe Restart

2014-02-28 Thread AndyB
be required. I'll continue to try and track down the root cause, but in the meantime this should help. Thanks Andy On Friday, 28 February 2014 07:41:08 UTC, Baptiste Mathus wrote: > > Just out of curiosity, why do you want to automate that restart? > Le 27 févr. 2014 11:18

Scheduled Safe Restart

2014-02-27 Thread AndyB
Hi, Could you tell me if it's possible to schedule a regular safe-restart of Jenkins? I have the safe-restart plugin which works fine, but I'd like to have Jenkins do a safe-restart over the weekend when it's generally idle. I looked at the command line interface but I can't use that as it requ

Re: Resource Counting/Management

2013-11-05 Thread AndyB
; > Sent from my mobile so please forgive any auto correct errors > > Kind regards, > Brett > On 1 Nov 2013 15:18, "AndyB" > wrote: > >> >> Thanks for pointers. I'll check both the core's concepts of resources and >> their use in the loc

Re: Resource Counting/Management

2013-11-01 Thread AndyB
Thanks for pointers. I'll check both the core's concepts of resources and their use in the locks/latches plugin. Thanks again, Andy On Thursday, 31 October 2013 15:53:27 UTC, Ricardo Silva wrote: > > I've never used it myself, and maybe it uses the same concept Stephen > mentioned (so it cou

Resource Counting/Management

2013-10-31 Thread AndyB
Hi I have a question about how to manage limited resources (actually software licences). Say I have a pool of machines M, a subset of the those machines, S, are able to run licenced software, however only N licences can be used concurrently. I know (thanks to an earlier reply), that I can use

Re: Managing Node Resource Pools for Matrix Jobs

2013-10-16 Thread AndyB
October 2013 13:17:20 UTC+1, chavanne wrote: > > AndyB gmail.com> writes: > > > > > > > > > Hi, > > > > Could you tell me if it's possible to tie a matrix job (and it's > elements) > to use a specific range of nodes (by node name or

Managing Node Resource Pools for Matrix Jobs

2013-10-16 Thread AndyB
Hi, Could you tell me if it's possible to tie a matrix job (and it's elements) to use a specific range of nodes (by node name or label)? The use case is to manage pools of resources, so for example, if you had two pools of nodes, P1 and P2, some jobs could be restricted to run on nodes in P1,