Skip to content
Permalink
Browse files

Setting GIT_SSH_VARIANT=ssh to environment, solves [JENKINS-49111]

  • Loading branch information
mjoe committed Jan 24, 2018
1 parent 2df89c5 commit e8e1444c7f07b52d2d9b380257b2cc81e10bb0a5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
@@ -1652,6 +1652,7 @@ private String launchCommandWithCredentials(ArgumentListBuilder args, File workD

env = new EnvVars(env);
env.put("GIT_SSH", ssh.getAbsolutePath());
env.put("GIT_SSH_VARIANT", "ssh");
env.put("SSH_ASKPASS", pass.getAbsolutePath());

// supply a dummy value for DISPLAY if not already present

0 comments on commit e8e1444

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