Am 08.07.2019 um 10:14 schrieb Rajeev Ranjan <rajeevr...@gmail.com>:Hi Team,I have some unit tests which is running fine when invoked directly but I want to ensure it is running fine on slave agent also. Ho can I configure my automation to run the tests on windows slaves?
Is these any documentation for the same. I referred https://jenkins.io/doc/developer/testing/ for help but here mocking agent part is marked as todo. Can you please redirect me to documentation for the same.Thanks in advance.
RegardsRajeev Ranjan--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/5e90709f-1c27-4b1b-a879-8443b7c143bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DumbSlave node = jenkins.createSlave("node", "", null);
project.setAssignedNode(node);
project.getBuildersList().add(builder);
FreeStyleBuild build = jenkins.buildAndAssertSuccess(project);