Skip to content
Permalink
Browse files

Merge pull request #297 from mjoe/master

Setting GIT_SSH_VARIANT=ssh to environment, solves [JENKINS-49111]
  • Loading branch information
MarkEWaite committed Jan 24, 2018
2 parents 2df89c5 + e8e1444 commit 21914aaf97f09abff119d3ec85838fcdc6bdb2d3
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 21914aa

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