Skip to content

Commit

Permalink
Merge pull request #297 from mjoe/master
Browse files Browse the repository at this point in the history
Setting GIT_SSH_VARIANT=ssh to environment, solves [JENKINS-49111]
  • Loading branch information
MarkEWaite committed Jan 24, 2018
2 parents 2df89c5 + e8e1444 commit 21914aa
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 21914aa

Please sign in to comment.