code: private Map<String, Commit> buildRevisionNumberToCommitMap(List<Commit> commits) {
  		Map<String, Commit> rt = new HashMap<>();
  		
  		for (Commit commit : commits) {
  			String revisionNumber = commit.getScmRevisionNumber();
  			
  			boolean alreadyExists = rt.put(revisionNumber, commit) != null;
  			
  			if (alreadyExists) {
  				logger.warn("Error encountered building pipeline: multiple commits exist for revision number " + revisionNumber);
  			}
  		}
  		
  		return rt;
  	}
docs: TODO needs to account for scm url and branch