提交 2f442e4d 编写于 作者: J Jean Blanchard

Fix changelog generation in ExtractResourceWithChangesSCM

when several files are changed at once
(used in the fix for JENKINS-22622)
上级 e6b063dd
......@@ -122,13 +122,13 @@ public class ExtractResourceWithChangesSCM extends NullSCM {
stream.println("<extractChanges>");
stream.println("<entry>");
stream.println("<zipFile>" + escapeForXml(changeLog.getZipFile()) + "</zipFile>");
stream.println("<file>");
for (String fileName : changeLog.getAffectedPaths()) {
stream.println("<file>");
stream.println("<fileName>" + escapeForXml(fileName) + "</fileName>");
stream.println("</file>");
}
stream.println("</file>");
stream.println("</entry>");
stream.println("</extractChanges>");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册