[JENKINS-19745] Split build steps to make it easier to identify exit code failures, esp on windows