提交 ff7f9746 编写于 作者: L lvotypko 提交者: Kohsuke Kawaguchi

Wrong url after renaming job

上级 117d69b8
......@@ -1221,8 +1221,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
// send to the new job page
// note we can't use getUrl() because that would pick up old name in the
// Ancestor.getUrl()
rsp.sendRedirect2(req.getContextPath() + '/' + getParent().getUrl()
+ getShortUrl());
rsp.sendRedirect2("../" + newName);
}
public void doRssAll(StaplerRequest req, StaplerResponse rsp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册