How to load protected resources into jenkins workflow?

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?

+2
source share
1 answer

Use a credential binding plugin that integrates with Workflow.

0
source

All Articles