Re: Change svn check-out strategy for automatic/manuel build

2012-03-25 Thread Didier Durand
Hi Chitech,

Agreed with Jan: what you propose is a lot of work compared to my solution 
achieved in a few clicks...

Up to you

regards

didier

Le samedi 24 mars 2012 11:09:34 UTC+1, chitech a écrit :

 We found a way around it.

 1.0 Make a cron job to modify the config.xml to Clean workspace
 1.1 Call reload configuration via disk from cron job
 2.0 The hudson run the nightly builds
 3.0 Make a cron job to modify the config.xml back to emualte clean
 3.1 Call reload configuration via disk from cron job

  

 On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote:

 When an user schedule a build we would like to use svn check-out 
 strategy: 
 ‘Emulate clean checkout by first deleting unversioned/ignored files, 
 then 'svn update'’ 

 But for nightly build we would like to use this strategy: 
 Clean workspace and then checkout 

 We want this because the build time will be shorter in the daytime. 
 Can we 
 somehow achieve this setup?


 On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote:

 When an user schedule a build we would like to use svn check-out 
 strategy: 
 ‘Emulate clean checkout by first deleting unversioned/ignored files, 
 then 'svn update'’ 

 But for nightly build we would like to use this strategy: 
 Clean workspace and then checkout 

 We want this because the build time will be shorter in the daytime. 
 Can we 
 somehow achieve this setup?


 On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote:

 When an user schedule a build we would like to use svn check-out 
 strategy: 
 ‘Emulate clean checkout by first deleting unversioned/ignored files, 
 then 'svn update'’ 

 But for nightly build we would like to use this strategy: 
 Clean workspace and then checkout 

 We want this because the build time will be shorter in the daytime. 
 Can we 
 somehow achieve this setup?


 On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote:

 When an user schedule a build we would like to use svn check-out 
 strategy: 
 ‘Emulate clean checkout by first deleting unversioned/ignored files, 
 then 'svn update'’ 

 But for nightly build we would like to use this strategy: 
 Clean workspace and then checkout 

 We want this because the build time will be shorter in the daytime. 
 Can we 
 somehow achieve this setup?


 On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote:

 When an user schedule a build we would like to use svn check-out 
 strategy: 
 ‘Emulate clean checkout by first deleting unversioned/ignored files, 
 then 'svn update'’ 

 But for nightly build we would like to use this strategy: 
 Clean workspace and then checkout 

 We want this because the build time will be shorter in the daytime. 
 Can we 
 somehow achieve this setup?


 On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote:

 When an user schedule a build we would like to use svn check-out 
 strategy: 
 ‘Emulate clean checkout by first deleting unversioned/ignored files, 
 then 'svn update'’ 

 But for nightly build we would like to use this strategy: 
 Clean workspace and then checkout 

 We want this because the build time will be shorter in the daytime. 
 Can we 
 somehow achieve this setup?



Flashlog?

2012-03-25 Thread Adam PAPAI

Dear Jenkins Users!

Is it possible to disable 3 specific jobs running on 1 machine at the 
same time, BUT allow them to run on different slaves at the same time? I 
haven't found a plugin for this.


Thanks,


How to start jenkins service with increased java heap memory

2012-03-25 Thread zakyn
Hello,

I would like to ask you how to start jenkins service with increased
java heap memory
I would like to start jenkins with this java setting but my jenkins is
running as a windows service.

Is it possible to start jenkins service with these parameters -Xms512m
-Xmx2048m ? Does it mean that java for jenkins will use this setting?

Thank you for your help.

Vladimir


Re: EnvInject: injecting environment variables from URL

2012-03-25 Thread Grégory Boissinot
It should be fix with SharedObjects plugin 0.20.

On Fri, Mar 23, 2012 at 7:13 AM, John Vacz 
mailing.list.collect...@googlemail.com wrote:

 **
 I have form submission problem on the shared objects configure page when I
 access Jenkins through a local proxy (ssl tunneling). I got  a server not
 found page when I click the save button, Jenkins was trying to
 submit/redirect to https://real-server-name/jenkins//manage, instead of
 (my guess) https://my-local-proxy/jenkins/manage.

 Is there any way to get around this? I tried lynx/w3m on the remote
 server, but they seem to have difficulties dealing with the drop down
 button gadget.

 On 18.03.2012 22:51, Grégory Boissinot wrote:

 Thanks for testing EnvInject plugin.

 EnvInject is aimed at managing environment variables.
 For your need, you can use the Shared Objects plugin.
 It's a complement to the EnvInject plugin. It enables you to share objects
 in your environment (such as in your case a properties files through an
 URL) and inject its content as environment variables with the EnvInject
 plugin.

 You define your shared objects in the global Jenkins configuration
 (Manage Jenkins Shared Objects) and check 'Propagate shared objects' in
 the 'Prepare an environment for the job run' section.
 Shared objects will be computed dynamically and the results will be
 injected as environment variables for each job build.

 https://wiki.jenkins-ci.org/display/JENKINS/SharedObjects+Plugin


 On Fri, Mar 16, 2012 at 10:43 AM, John Vacz 
 mailing.list.collect...@googlemail.com wrote:

 Can EnvInject plugin inject enviroment variables defined in .properties
 file from a URL? I tried but it did not work. Have i missed something
 obvious?

 Our particular use case is that we need to inject some mail address lists
 as environment variables to be used by Email-ext plugin, and it would be
 very handy if we can just inject those variables directly from a http
 server (or our anonymous SVN in this particular case). Meanwhile I add a
 shell script to  download the .properties file and then use EnvInject to
 inject them.

 Furthermore, the variables are actually global, it would be great if we
 do not need to inject them in every job, but globally in Jenkins. I noticed
 that in Jenkins configure screen, there is a Prepare jobs environment
 section (provided by EnvInject?), it seems that one can inject viarables
 from a file with absolute path. But have some concerns: a) this injection
 is rather static, as the help stated You must restart the node
 (master/slave) for the consideration of this property, that means the
 variables cannot be changed on the fly (I did not get a chance to test
 this, so I might be wrong); b) I am not sure if this injection is
 transparent in a master-slave setting.

 Any suggestion is appreciated.






Re: How to start jenkins service with increased java heap memory

2012-03-25 Thread Vladimir Zak
Hi Richard,

I have tried that but after computer restart the parameters were not
there not at all :(

Vladimir





2012/3/25 Richard Lavoie lavoie.rich...@gmail.com:
 Can't you open the services panel (run - services.msc) and change the 
 service start command to add these 2 additionnal parameters ?

 Richard



 On 2012-03-25, at 08:17, zakyn zakvladi...@gmail.com wrote:

 Hello,

 I would like to ask you how to start jenkins service with increased
 java heap memory
 I would like to start jenkins with this java setting but my jenkins is
 running as a windows service.

 Is it possible to start jenkins service with these parameters -Xms512m
 -Xmx2048m ? Does it mean that java for jenkins will use this setting?

 Thank you for your help.

 Vladimir