Hi Daniel, sure, here is the config:

Build configuration

Include a build parameter of type Password

Then add an Execute shell script on remote host using ssh build task. Inside the command block, call a shell script taking a argument. Use the parameter as argument.

Run the build

When running it using the Build with Parameters link, the task is successfully executed, but all the used parameters are printed out in the console output (as well as the script itself).

This would be fine for normal parameters, but it is a security issue for passwords, as they are to be kept secret!

Change By: Pietro Descombes (30/Sep/14 8:27 AM)
Attachment: shell-script.png
Attachment: password-parameter.png
Attachment: ssh-log.png
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to