Skip to content

Commit

Permalink
[JENKINS-14745] use transportAuthentication to parse command arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Aug 13, 2012
1 parent b1f0c9d commit c799158
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/hudson/cli/CLICommand.java
Expand Up @@ -215,6 +215,7 @@ public int main(List<String> args, Locale locale, InputStream stdin, PrintStream
Authentication old = sc.getAuthentication();

CliAuthenticator authenticator = Jenkins.getInstance().getSecurityRealm().createCliAuthenticator(this);
sc.setAuthentication(getTransportAuthentication());
new ClassParser().parse(authenticator,p);

try {
Expand Down

0 comments on commit c799158

Please sign in to comment.