// we don't want Maven, Ant, etc. to be discovered in the path for this test to work,
// but on Unix these tools rely on other basic Unix tools (like env) for its operation,
// so empty path breaks the test.
env.put("PATH", "/bin:/usr/bin");
env.put("M2_HOME", "empty");
slave = createSlave(new LabelAtom("slave"), env);
project = createFreeStyleProject();
project.setAssignedLabel(slave.getSelfLabel());
}