error 255 when running exe in batch file

2014-02-19 Thread Yulia Kantarovich
I am executing Windows Batch Command on Jenkins slave (windows): The batch file is : @echo on cd path filename.exe echo ret code: %errorlevel% When I run it in command window it works. When ruuning as Jenkins job I am getting error 255, the exe is not executed (its' job is not done). However

Re: Performance with thousands of jobs

2014-02-19 Thread Dirk Kuypers
Just to let you know: we found it! It was the build-node-column plugin. https://issues.jenkins-ci.org/browse/JENKINS-21870 If I understand the source right, the plugin asks for every row in a view every slave for for all builds on that node until it has found the node which built the last build.

println weirdness in Build Flow Plugin groovy

2014-02-19 Thread Steve Maring
If I run this script directly in Groovy public class FooBar { public static void sayFoo() { this.println(Foo); } public void sayBar() { this.println(Bar); } } println(Hello World); FooBar.sayFoo(); FooBar fooBar = new FooBar(); fooBar.sayBar(); It properly

Re: println weirdness in Build Flow Plugin groovy

2014-02-19 Thread Steve Maring
nvm ... looks like somebody else already found a workaround ... https://groups.google.com/forum/#!searchin/jenkinsci-users/println/jenkinsci-users/mpGF1BJpsaA/phcHtf7stacJ On Wednesday, February 19, 2014 8:54:14 AM UTC-5, Steve Maring wrote: If I run this script directly in Groovy

Re: println weirdness in Build Flow Plugin groovy

2014-02-19 Thread Steve Maring
just for completeness and clarity, this works in a Build Flow DSL ... public class FooBar { private OutputStream out; public FooBar(OutputStream out) { this.out = out; } public static void sayFoo(OutputStream out) { out.println(Foo); } public void sayBar() {

MSBuild Visual Studio

2014-02-19 Thread Jmata
Hello Guys, Im running into a small issue in regards to the MSBuild Plugin . All setting seem to be correct in our configuration path, (pointing to the correct path C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe As soon as we run a build job we get the following error. msbuild.exe' is not

Re: MSBuild Visual Studio

2014-02-19 Thread Mark Waite
You could add a build step which executes a Windows batch to echo %PATH%. I suspect that the PATH (or other environment) setting is not what you want when running that job. On Wed, Feb 19, 2014 at 9:01 AM, Jmata jmat...@gmail.com wrote: Hello Guys, Im running into a small issue in regards to

RE: MSBuild Visual Studio

2014-02-19 Thread David Aldrich
Hi You need to specify the path to msbuild. The plugin does not do that for you AFAIK. We just use a Windows batch command build step and do: %MSBUILD% MSVC\mysln.sln /p:Configuration=Release /p:useenv=true /flp:logfile=MyOutput.log;verbosity=diagnostic where:

Master and slaves resource status notification

2014-02-19 Thread alok kumar
Hi All, I have a requirement for which I would like all the stakeholders involved to receive a mail notification in case the resources i.e. memory/storage go down below a certain threshold predefined value. Is there plugin out there through which this can be achieved? Has anyone else come across

Parametrized build with dynamically populating values

2014-02-19 Thread alok kumar
Hi All, Is there a way in which I can submit a parametrized build in which the options available on one of the sections depend upon what value was chosen in the previous or any other parameter? E.g. If the option chosen in the parameter form page is windows, it populates win7, win2008, win2003

Re: Svn Credentials

2014-02-19 Thread Baptiste Mathus
I would definitively go with the groovy script console to do that configuration on every job. Cheers Le 19 févr. 2014 01:43, Jmata jmat...@gmail.com a écrit : So this is our current setup. 1 master (server2012) 14 slaves(server2003, 2008, OSX) 500 jobs across the slaves. 1 AD svcSVN account

Re: Master and slaves resource status notification

2014-02-19 Thread Baptiste Mathus
Which machine would you like to check? Which os? Is it one of the Jenkins slaves? If it's Linux, then it's a matter of minutes: create a freestyle job, run a smell script that would check df output on the partition (s) you're interested in, and return 1 or 0 if there's enough left. Then

Re: Parametrized build with dynamically populating values

2014-02-19 Thread Maciej Jaros
alok kumar (2014-02-19 17:43): Hi All, Is there a way in which I can submit a parametrized build in which the options available on one of the sections depend upon what value was chosen in the previous or any other parameter? E.g. If the option chosen in the parameter form page is windows, it