Many times I need to upload files (e.g. archives) from a remote repository (e.g. maven-repo), which is protected by username / password.
It's easy to get such a file using curl or wget , but when I don't like to see the password in the logs, maybe there is a better / implemented way to do this from the jenkins workflow? And how do I combine it with credentials managed by the jenkins credential plugin?
source share