Skip to content

Commit

Permalink
[FIXED JENKINS-10647] Needs to fallback to transport authentication.
Browse files Browse the repository at this point in the history
(cherry picked from commit f7108fa)

Conflicts:

	changelog.html
  • Loading branch information
kohsuke committed Nov 16, 2011
1 parent 587446d commit 719c759
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -64,7 +64,7 @@ public CliAuthenticator createCliAuthenticator(final CLICommand command) {

public Authentication authenticate() throws AuthenticationException, IOException, InterruptedException {
if (userName==null)
return Jenkins.ANONYMOUS; // no authentication parameter. run as anonymous
return command.getTransportAuthentication(); // no authentication parameter. fallback to the transport

if (passwordFile!=null)
try {
Expand Down

0 comments on commit 719c759

Please sign in to comment.