FreeStyleProject launcher = createFreeStyleProject("launcher");
DescribableList<Builder,Descriptor<Builder>> bl = launcher.getBuildersList();
// TODO 4: if we have a way a script task can print into the job console, we no longer need the Shell build step
bl.add(new JenkowBuilder(getWfName("workflow")));
FreeStyleBuild build = launcher.scheduleBuild2(0).get();
System.out.println(build.getDisplayName()+" completed");
String s = FileUtils.readFileToString(build.getLogFile());
System.out.println("<console>\n"+s+"</console>");
assertTrue(s.contains(Consts.UI_PREFIX+": scripttask1 started"));