如何在詹金斯工作流程中下载受保护的资源?
how to download protected resources in a jenkins workflow?
很多时候我需要从受 username/password 保护的远程存储库(例如 maven-repo)下载文件(例如存档)。
用curl
或wget
很容易得到这样的文件,但是当我不想在日志上看到密码时,也许有better/embedded的方法从詹金斯工作流程中做到这一点?我如何将它与 jenkins 凭据插件管理的凭据结合起来?
使用与 Workflow 集成的 Credentials Binding plugin。
很多时候我需要从受 username/password 保护的远程存储库(例如 maven-repo)下载文件(例如存档)。
用curl
或wget
很容易得到这样的文件,但是当我不想在日志上看到密码时,也许有better/embedded的方法从詹金斯工作流程中做到这一点?我如何将它与 jenkins 凭据插件管理的凭据结合起来?
使用与 Workflow 集成的 Credentials Binding plugin。