diff --git a/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java b/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java index adef73973f..f27474cb78 100644 --- a/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java +++ b/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java @@ -2168,7 +2168,7 @@ private String launchCommandWithCredentials( if (StringUtils.isNotEmpty(proxy.getUserName())) { userInfo = proxy.getUserName(); if (StringUtils.isNotEmpty(proxy.getPassword())) { - userInfo += ":" + proxy.getPassword(); + userInfo += ":" + proxy.getSecretPassword(); } } try {