1
votes

I have my build with SSH-Exec Build step (or SSH deployer), which requires username and password in its configuration to connect.

The problem I faced is that username can be provided by a parameter (so I can ask user when triggering build for his username) but I cannot do the same with password (it is masked and parameters reference is not supported in this field).

How can I configure a SSH-Exec Build step so password is taken from parameter?

(I'm aware of other then password auth methods, but I like explicitly ask the one who runs it for password to confirm he is in charge to run it).

1

1 Answers

1
votes

You can enter a password parameter into the password field to use a parameter. It still masks the value so it feels a little weird but it works.