I have a Linux Jenkins master in our network configured for Maven builds. To improve performance I decided to configure the Jenkins slave on a Windows machine (I don't currently have another Linux server for it). I have successfully added the Windows-based slave, but several questions stays unclear for me:
Does Windows slave machine need its own Maven instance? If yes, how do I set it in the slave configuration?
Can I configure my builds to be able to run on both Linux master and Windows slave?
For example, the project configuration contains a Build section with "Goals and Options:
clean install -s /opt/hudson_home/m2-settings-bwa.xml -P -abgabe". Unfortunately the path to the XML file is not valid in Windows. How should I configure both Linux and Windows environments (and projects) then?