outLocations[i] = locations[i].getExpandedLocation(build);
outLocations[i] = locations[i].getExpandedLocation(build);
ModuleLocation expandedLocation = locations[i].getExpandedLocation(job);
String url; try { url = loc.getExpandedLocation(project).getSVNURL().toDecodedString(); } catch (SVNException ex) { ex.printStackTrace(listener.error(Messages.SubversionSCM_pollChanges_exception(loc.getURL())));
outLocations[i] = locations[i].getExpandedLocation(env2);
/** * Expand location value based on Build parametric execution. * * @param build Build instance for expanding parameters into their values * @return Output ModuleLocation expanded according to Build parameters values. * @deprecated Use {@link #getExpandedLocation(EnvVars)} for vars expansion * to be performed on all env vars rather than just build parameters. */ public ModuleLocation getExpandedLocation(AbstractBuild<?, ?> build) { EnvVars env = new EnvVars(EnvVars.masterEnvVars); env.putAll(build.getBuildVariables()); return getExpandedLocation(env); }