Skip to content
Permalink
Browse files

Merge pull request #83 from jenkinsci/fix-transport-auth

[JENKINS-43822] Fix Jenkins CLI transport auth
  • Loading branch information...
samrocketman committed May 2, 2017
2 parents 05313d0 + 8d7c27e commit 72075ba852186552e2779e59fa65e34d5a93edd4
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/jenkinsci/plugins/GithubSecurityRealm.java
@@ -520,8 +520,8 @@ public CliAuthenticator createCliAuthenticator(final CLICommand command) {

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

0 comments on commit 72075ba

Please sign in to comment.
You can’t perform that action at this time.