Hello,
Some time ago Jenkins has started run jobs on slave node (win 7).
[EnvInject] - Loading node environment variables. Installing JDK jdk-8u74-oth-JPR Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-windows-x64.exe Downloading 196405336 bytes Installing D:\jenkins\tools\hudson.model.JDK\jdk-sun-1.8.74\jdk.exe [jdk-sun-1.8.74] $ D:\jenkins\tools\hudson.model.JDK\jdk-sun-1.8.74\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=D:\jenkins\tools\hudson.model.JDK\jdk-sun-1.8.74 /L D:\jenkins\tools\hudson.model.JDK\install1182473847874408631log Building remotely on win7 (WINDOWS) in workspace D:\jenkins\workspace\resin-deploy Cloning the remote Git repository ... [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content JAVA_HOME=/var/lib/jenkins/tools/hudson.model.JDK/jdk-sun-1.8.74 [EnvInject] - Variables injected successfully. FATAL: Cannot find executable from the chosen Ant installation "ant-1.9.6" Build step 'Invoke Ant' marked build as failure SSH: Current build result is [FAILURE], not going to run. Finished: FAILURE
The slave node was connected via
> java -jar d:\jenkins-slave.jar -jnlpUrl http://jenkins.example.net:8080/computer/win7/slave-agent.jnlp -secret {SECRET}
For example build 10 was built on Master node (linux) and build 11 was built on Slave (windows 7). How can I revert the old behavior and tell Jenkins build all jobs on master node by default ?