خرید بک لینک

We're using Jenkins to test our software on both Windows and Linux. Our Jenkins server (which doesn't have any data drives mounted) starts a Jenkins slave Job on one of our Windows machine which then needs to get data from a network drive that needs to be mounted with different user credentials.

So I need something like

net use \servershare /u:useame PASSWORD
copy data

The problem is I don't want to write PASSWORD in my Jenkins execution script.

On Linux, we use an SSH keyfile and scp for that, but what's the equivalent for that on Windows?

برچسب: نویسنده: استخدام کار تاريخ: جمعه 28 اسفند 1394 ساعت: 22:39

صفحه بندی