提交 c7991585 编写于 作者: N Nicolas De Loof

[JENKINS-14745] use transportAuthentication to parse command arguments

上级 b1f0c9dd
......@@ -215,6 +215,7 @@ public abstract class CLICommand implements ExtensionPoint, Cloneable {
Authentication old = sc.getAuthentication();
CliAuthenticator authenticator = Jenkins.getInstance().getSecurityRealm().createCliAuthenticator(this);
sc.setAuthentication(getTransportAuthentication());
new ClassParser().parse(authenticator,p);
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册