Skip to content

Commit

Permalink
Setting GIT_SSH_VARIANT=ssh to environment, solves [JENKINS-49111]
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoe committed Jan 24, 2018
1 parent 2df89c5 commit e8e1444
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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
Expand Down

0 comments on commit e8e1444

Please sign in to comment.