getLog().info("Gathering information from the version control system: "+ vcs);
VcsBuildInfo vcsInfo = vcsInfoGatherer.gatherVcsBuildInfo(getLog());
BuildServerBuildInformationGatherer buildServerInfoGatherer = null;
if (bambooBuildKey != null && bambooBuildNumber != null && bambooBuildTimeStamp != null){
buildServerInfoGatherer = new ChainingBuildServerGatherer(new
AtlassianBambooBuildInfoGatherer(bambooBuildKey, bambooBuildNumber, bambooBuildTimeStamp));
} else {
try {
Properties envVars = CommandLineUtils.getSystemEnvVars();
JenkinsBuildInfoGatherer jenkins = new JenkinsBuildInfoGatherer(envVars);