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
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.
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
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
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() {
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
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
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:
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
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
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
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
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
13 matches
Mail list logo