in aws-codedeploy-agent/src/main/java/jetbrains/buildServer/runner/codedeploy/ApplicationRevision.java [58:65]
private File packZip() throws CodeDeployRunner.CodeDeployRunnerException {
final List<File> files = new ArrayList<File>(myPathMappings.collectFiles());
if (files.isEmpty()) {
throw new CodeDeployRunner.CodeDeployRunnerException("No " + CodeDeployConstants.REVISION_PATHS_LABEL.toLowerCase() + " files found", null);
}
return zipFiles(patchAppSpecYml(files), new File(myTempDir, myName.endsWith(".zip") ? myName : myName + ".zip"));
}